Skip to content

Node lagging #2981

@saniksin

Description

@saniksin

Lately, I’ve noticed that my node can fall behind the main chain by 100–200 blocks even under low server load, then later catch up without any errors in the logs. This happens both on testnet and mainnet, across different servers.

When emulating transaction loads (80–100 tx within 1–2 seconds), the node may also start dropping and lagging behind the network, even though CPU, disk (writes), and system load can remain low.

Have you investigated this issue or tried optimizing performance under medium–high load?

I also noticed that sometimes a Starknet feeder gateway endpoint doesn’t respond. Could you add support for multiple endpoints (as reserve/fallback endpoints), so the node can automatically switch in case of an error or timeout?

https://feeder.alpha-sepolia.starknet.io/feeder_gateway/get_state_update?blockNumber=1810150&includeBlock=true

https://feeder.alpha-mainnet.starknet.io/feeder_gateway/get_state_update?blockNumber=1810150&includeBlock=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions