onflow / flow-go

A fast, secure, and developer-friendly blockchain built to support the next generation of games, apps, and the digital assets that power them.
GNU Affero General Public License v3.0
531 stars 176 forks source link

[Network] Implement smart probabilistic selection of multicast peers based on historical performance #1510

Open synzhu opened 3 years ago

synzhu commented 3 years ago

We should track the ratio / number of times we receive a successful response to a 1-to-1 request for each peer, so that when we are selecting peers for Multicast, we can select them probabilistically based on the their historical likeliness to respond to our requests.

We can track this separately per topic (so that we have separate scoring per topic).

It's possible that libp2p already tracks some of this information for us?

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.