-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(kademlia): speeding up topology build (#2028)
Speeds up the topology build by dividing the connect neighbor method into two separate phases executed in sequential order. The first phase makes a number of concurrent connections not bigger than what is considered for the bin to be saturated. The second phase takes care of the rest of the connection in a regular manner.
- Loading branch information
Peter Mrekaj
committed
Jun 10, 2021
1 parent
7383d3d
commit 388256b
Showing
3 changed files
with
106 additions
and
77 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