Skip to main content

Simulation run on this device. Scenario values are not sent anywhere — the engine is fully local.

system design simulation · free

Raft Election & Log Lab

Step through terms, votes, and log-matching rules by hand.

Why can't a stale candidate win the election?

Engine 1.0.0 · simulation
5
ms
1200
ms
502000
1
Majority
3
Alive
4
Can elect?
yes
Min election wait
320 ms

Cluster can form a leader with remaining nodes.

5 nodes, fail 1, majority 3

Method

  • Deterministic local model of the mechanism — knobs recompute outputs instantly with no network.
  • Numbers are teaching approximations, not production capacity guarantees.