solana/gossip/tests
behzad nouri 1925b4f5cb
fans out gossip pull-requests to many randomly selected peers (#25460)
Each time a node generates gossip pull-requests, it sends out all the
requests to a single randomly selected peer:
https://github.com/solana-labs/solana/blob/fd7ad31ee/gossip/src/crds_gossip_pull.rs#L253-L266

This causes a burst of pull-requests at a single node at once. In order
to make gossip in-bound traffic less bursty, this commit fans out gossip
pull-requests to several randomly selected peers.

This should reduce spikes in inbound gossip traffic without changing the
average load which may help reduce number of times outbound data budget is
exhausted when responding to gossip pull-requests at the receiving node, and
reduce number of pull-requests dropped.
2022-05-26 12:45:53 +00:00
..
cluster_info.rs removes legacy weighted_shuffle and weighted_best methods (#24125) 2022-04-05 19:19:22 +00:00
crds_gossip.rs fans out gossip pull-requests to many randomly selected peers (#25460) 2022-05-26 12:45:53 +00:00
gossip.rs limits read access into Packet data to Packet.meta.size (#25484) 2022-05-25 16:52:54 +00:00