Interactive ZooKeeper leader election — five processes creating ephemeral sequential znodes under /election. Smallest wins; each follower watches only its predecessor. Step through three scenarios or take over in free play.

5 processes · ephemeral sequential · smallest wins leader follower notified down
ZooKeeper · /election
/election
Processes (watch chain)
1 · Create
2 · Watch
3 · Death
4 · Notify
5 · Re-elect
Step 0 / 0

Ready. Five processes will create znodes under /election.

Scenario timeline
space
leader
smallest seq
alive
0 / 5
notifications
0
Message loglast 2 messages