Skip to content

Gossip and failure detectors

How epidemic gossip spreads state in logarithmic rounds, why no failure detector can be perfect, and how phi accrual and SWIM trade detection speed for false suspicion.

30 min7 steps

By the end you can
  • Estimate how many rounds epidemic gossip needs to reach a cluster, and why it scales
  • Explain completeness and accuracy of failure detectors and why timeouts cannot distinguish slow from dead
  • Compute phi accrual suspicion levels and choose a threshold for a detection-speed trade-off

Spreading state without a centre

round 1round 1round 2round 2Node AknowsNode BNode CNode DNode E
Constant messages per node per round, no special path. Xerox PARC, 1987: spreads like a rumour.

Why do large clusters such as Cassandra and Consul use gossip for membership rather than having every node heartbeat every other node?

Answer this step to continue.