Skip to content

feat(blockpoller): poll blocks in parallel#110

Open
TPXP wants to merge 2 commits intostreamingfast:developfrom
TPXP:enh-blockpoller-loop-rpcs
Open

feat(blockpoller): poll blocks in parallel#110
TPXP wants to merge 2 commits intostreamingfast:developfrom
TPXP:enh-blockpoller-loop-rpcs

Conversation

@TPXP
Copy link

@TPXP TPXP commented Feb 17, 2026

This PR improves the block poller by enabling it to poll multiple blocks in parallel, thus greatly improving throughput.

It also enhances logging to report RPC call failures, which were previously silently failing

TPXP added 2 commits February 17, 2026 21:30
also try to add client details if we can cast it as an rpc client
Previously, blockpoller was polling blocks one by one due to the lock on
the clients object (tracking failures and moving to the next rpc client)

We now duplicate the client list for every block poll, enabling us to poll
multiple blocks in parallel from multiple RPCs. Performance impact is
negligible as the main bottleneck here is the RPC call - launching multiple
calls in parallel outweighs the penalty of duplicating our clients list.

We also try to start with a different rpc for each block poll to avoid
spamming a single endpoint with too many requests at once
@maoueh maoueh requested a review from billettc February 17, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant