Leader election and consensus
Play this lessonThis lesson comes with a chapter quiz.Many systems need one node in charge: the database leader, the lock holder, the scheduler that must run a job once. If the leader dies, the others must agree on a new one, and two leaders at once (split brain) would corrupt data.
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