Leader Election
A mechanism in distributed systems to designate a single master/leader node responsible for coordinating actions across worker nodes.
Definition
A mechanism in distributed systems to designate a single master/leader node responsible for coordinating actions across worker nodes.
Use case
Using ZooKeeper or Raft to automatically elect a new primary node when the leader database crashes.
Related terms
Articles
Leader election
How distributed systems agree on who is in charge.