P.01Leader Election Explained: How a Cluster Picks Who's in Charge
Run three copies of a service for availability and you've created a new problem: only one of them should do certain jobs at a time. Here's how leader election actually works, from Raft's term-based voting to the etcd lease pattern most teams use in practice.
































