-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Enhance peer selection to utilize the performance metrics added in the peer performance metrics ticket. Currently, snap sync uses basic peer selection without considering transfer speed or latency.
Potential areas for investigation and improvement:
-
Latency-based selection: Consider whether snap sync account/storage/trie requests (which involve many small requests) would benefit from prioritizing low-latency peers over other criteria.
-
Context-aware selection: Explore implementing context-aware peer selection that chooses optimal peers based on request type, potentially using different selection strategies for different phases of world state sync.
-
Selection comparators: Investigate adding peer selection comparators like
BY_LOW_LATENCYorBY_TRANSFER_SPEEDfor world state operations to complement existing comparators. -
RequestDataStep integration: Review how
RequestDataStepin snap sync could be updated to leverage performance-based peer selection once metrics are available.
The goal is to route requests to the most suitable peers based on their historical performance characteristics to improve overall world state sync performance.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status