-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FindPeer Design Review #784
Comments
Some results from this design review:
Hopefully landing 1 should be doable without any massive changes, and if so then should push 2 and 3 further down the road. |
@aarshkshah1992 asked in #779 about whether Shortcutting can lead to two issues:
It's possible that the DHT improvements will yield a full search not being much more expensive than shortcutting. If, after benchmarking, the results are close I'd definitely be pro removing the shortcutting by default since we have @Stebalien @jacobheun does this analysis make sense to you and seem like a reasonable plan forward? It's a pretty minimal implementation change (famous last words 😛) which we can revisit once we've got better data about how valuable the shortcuts could be. |
There are a few upcoming changes to the DHT and we'd like to nail down what the contract and expectations are for the FindPeer query to make sure they are met from a performance and security standpoint without adding too much complexity.
Questions for the upcoming design review include:
GetClosestPeers(target)
and then asking them each for the addresses they know aboutExisting implementation approaches
Current go-libp2p-kad-dht approach:
libp2p/go-libp2p-kad-dht#436:
The text was updated successfully, but these errors were encountered: