Skip to content

hive gossip improvements #5490

Description

@acud

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions