Raft Leader Election Visualizer
Step through a simplified Raft election: timeouts fire, candidates request votes, and a leader emerges for a term.
Raft Leader Election
Simplified Raft: followers time out, become candidates, collect votes, and a leader heartbeats to keep power.
Toy model with 5 nodes and majority = 3. Real Raft also replicates a log; here we focus on election mechanics.
Roles
| Role | Behavior |
|---|---|
| Follower | Passive until election timeout |
| Candidate | Increments term, requests votes |
| Leader | Sends heartbeats; resets follower timeouts |
