CS Visual Lab
Explore
Learning Paths
5 modules live
Get Started
7.1
Distributed Systems
Raft Consensus
Leader election, log replication, and fault tolerance in a 5-node cluster
1.0x
Normal
Leader Fail
Partition
Split Brain
tick 0
S1
Follower
term 0
S2
Follower
term 0
S3
Follower
term 0
S4
Follower
term 0
S5
Follower
term 0
Follower
Candidate
Leader
Send Client Request
Partition Network
Click a node to select it
Replicated Logs
Committed
Uncommitted
Empty
S1
---
S2
---
S3
---
S4
---
S5
---
Cluster Metrics
Current Term
0
Leader
None
Elections
0
Commit Index
0
Events
0
Alive Nodes
5/5
S1
S2
S3
S4
S5
Event Log
0 events
Press Play or Step to begin