Failure detection: the gossip protocol
Play this lessonThis lesson comes with an interactive animation you can break, a live-code challenge and a chapter quiz.One server saying "B is down" isn't enough; it might just have a bad network link. We need at least two independent sources. All-to-all heartbeats work but are inefficient with many servers. Instead, use a decentralized gossip protocol:
The rest of this lesson is part of Pro
Pro unlocks every lesson with its animation, code challenge and quiz, plus every interview problem. ₹299 a month or ₹1,999 a year.
See Pro