Glossary

Gossip / SWIM

Nodes periodically exchange state with random peers so info spreads epidemically.

1 min read·5 sections
Open the interactive version → diagrams, practice & more

Definition

Nodes periodically exchange state with random peers so info spreads epidemically.

How it works

Decentralized membership + failure detection with no coordinator; O(1) load per node. Used by Cassandra, Consul.

Learn more on SystemLore

Common questions

What is Gossip / SWIM?

Nodes periodically exchange state with random peers so info spreads epidemically.

How does Gossip / SWIM work?

Decentralized membership + failure detection with no coordinator; O(1) load per node. Used by Cassandra, Consul.

What is Gossip / SWIM used for in system design?

Decentralized membership + failure detection with no coordinator; O(1) load per node. Used by Cassandra, Consul.

Part of Glossary on SystemLore — system design explained with 148 deep topics, interactive diagrams, and a build-it-yourself game. Build this one →