-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swarm: implement smart dialing logic (#2260)
* implement smart dialing * add more comments and tests * change address ranking logic to dial one quic address before others * add randomized worker loop tests * simplify priority queue implementation * improve DialRanker docs * one more test * add explanatory comments and rename variables * fix allocations in dialQueue * fix allocations in dialRanker * Apply suggestions from code review Co-authored-by: Marten Seemann <martenseemann@gmail.com> * fix comments * add logging * add holepunching test * add metrics for tracking dial prioritisation impact clean up redundant address filtering committed * add test for webtransport filtering * update changelog * fix flaky test * update dashboard * update dial ranking delay dashboard to use pie chart * change <=1ms label to 'No delay' in dashboard * add defensive check to map presence --------- Co-authored-by: Marten Seemann <martenseemann@gmail.com>
- Loading branch information
1 parent
0f9ad8c
commit 6f27081
Showing
15 changed files
with
2,127 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.