Build a Gossip Protocol
Build the epidemic protocol used by Consul, Cassandra, DynamoDB, and Bitcoin. Implement membership tracking, anti-entropy, SWIM-style failure detection, phi-accrual, and convergence analysis. The foundation of every decentralized cluster coordinator.
intermediate8 lessons4 chapters8 graded exercisesPython
No sign-up needed for lesson 1 · certificate on completion · sign up to save progress
What you’ll have built
Chapter by chapter. Every step is a graded exercise.
- Why Gossip
- Membership Tracking
- Failure Detection
- Production
Starts in Python — solve in the language you choose in the editor, same tests either way.
Curriculum
4 chapters, 8 lessons. Each lesson is a short read, one graded exercise, and a quiz.
- 1Why Gossip Protocols?Read · exercise · quiz
- 2Anti-EntropyRead · exercise · quiz
Loading reference solution…