Skip to content

Improve Syncing Strategy - Load balancing #509

@AgeManning

Description

@AgeManning

Description

The current syncing mechanism sequentially requests batches of blocks from peers. Although the requests are asynchronous an un-ordered between each peer, for an individual peer, these are requested sequentially and ordered.

The mechanism should updated to allow for batched, un-ordered, asynchronous requests from an individual peer. This will be useful to simultaneously request batches of blocks for any given peer and will be necessary for load-balancing block batches amongst peers with the same finalized root block.

The batched process should be load-balanced by grouping peers with identical finalized block roots and asynchronously requesting block batches from the group. Once updated to the finalized head, the standard batch process per-peer should be continued (grouping peers with identical root heads).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions