Right now there's a few limits regarding how and what we gossip on hive.
randomSubset in kademlia - this was set when the amount of peers gossiped was so large that it was consuming way too much bandwidth. We should set this to be a more reasonable higher value (but also have a cap in a way that closer bins can still get gossiped correctly and fully)
- add write coalescing in
hive - when frequent connections occur, it is very easy that single peer gossip messages get sent. This is wasteful. We should emit a message every second or so when gossiping single peers (if the message is big it can be dispatched immediately). Single peer gossips wait
Right now there's a few limits regarding how and what we gossip on hive.
randomSubsetinkademlia- this was set when the amount of peers gossiped was so large that it was consuming way too much bandwidth. We should set this to be a more reasonable higher value (but also have a cap in a way that closer bins can still get gossiped correctly and fully)hive- when frequent connections occur, it is very easy that single peer gossip messages get sent. This is wasteful. We should emit a message every second or so when gossiping single peers (if the message is big it can be dispatched immediately). Single peer gossips wait