Leader election

The core idea

Leader election chooses a node to coordinate work for a particular scope.

That might mean assigning jobs, owning a partition, leading replication, or updating metadata.

In this lesson

  • One leader for what?
  • Permission with a deadline
  • Watch a grant expire
  • A passed check can become stale
  • A leader must also make progress

Continue reading

Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.