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

    RoleBehavior
    FollowerPassive until election timeout
    CandidateIncrements term, requests votes
    LeaderSends heartbeats; resets follower timeouts