Raft Consensus Algorithm

Interactive visualization of distributed consensus with leader election and log replication

CLUSTER CONFIGURATION

Cluster Size:
Odd numbers ensure quorum. Current: 0 nodes, Majority: 1

INTERACTIVE DEMONSTRATIONS

Replicate Key

Watch log replication in action - nodes turn purple during 2-phase commit

Term:1
Leader:None
Commits:0
Interactive Controls:
Click "Trigger Election" on nodes to start election
Click WiFi icon to partition/restore network
Use "Try It" to see log replication
Watch nodes turn purple during replication
Legend:
Leader
Replicating
Candidate
Follower
Partitioned
Scroll to zoom, drag to pan