Skip to main content

Module gossip

Module gossip 

Source
Expand description

Gossip Protocol for Distributed Node Discovery

Implements a SWIM-style gossip protocol for automatic node discovery, failure detection, and cluster state dissemination.

Features:

  • Automatic node discovery through gossip
  • Failure detection with configurable timeouts
  • Efficient state propagation using infection-style dissemination
  • Suspicion mechanism to reduce false positives

Structs§

GossipConfig
Configuration for the gossip protocol
GossipMember
Information about a cluster member
GossipProtocol
Gossip protocol instance
MemberStateUpdate
State update for a member (piggybacked on messages)

Enums§

GossipError
Errors from the gossip protocol
GossipEvent
Event emitted by the gossip protocol
GossipMessage
Types of gossip messages
MemberState
Member state in the gossip protocol