Distributed Systems VisualizersTool 6 of 8
Visualizers
Leader Election Visualizer
Bully vs Ring vs Raft. Trigger elections, simulate failures.
Compare Bully, Ring, and Raft leader election. Use the mode buttons to switch between electing and killing/reviving nodes.
๐กClick a node to kill it, then trigger an election. Try different algorithms to see how they elect leaders.
Raft Consensus: Candidate requests votes from peers. Majority required to become leader. Randomized timeouts prevent split votes. Used in etcd, CockroachDB, Consul.
Nodes (click a node to start election from it)
Try This
LEADER
CANDIDATE
FOLLOWER
DOWN