2 releases
0.1.1 | Dec 4, 2024 |
---|---|
0.1.0 | Dec 4, 2024 |
#562 in Network programming
261 downloads per month
29KB
591 lines
hyparview-rs
Membership protocol for gossip services. Implementation inspired by HyParView (https://www.dpss.inesc-id.pt/~ler/reports/srds07.pdf).
HyParView maintains a hybrid view of the network with an active and a passive view. Nodes will consider peers in the active view to be eligible for gossiping. Passive view peers are periodically swapped when peer swap messages TTL expire. This mechanism allows for a set of passive peers that are ready to be promoted to the active view when needed, as dictated by network conditions or the application.
Usage: target/debug/gossip-rs <gossip_port> <bootstrap_host_and_port>
Dependencies
~8–22MB
~277K SLoC