Loading lesson…
Level 1 · Apprentice0 XP
How a group of machines agrees on one answer, even when some fail.
Step 1 / 5
ProblemTwo schedulers both think they are in charge after a network glitch. Both run the nightly billing. Customers are charged twice.
← → step
Before this: Sagas: transactions across services
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Run a 3-node etcd cluster in Docker. Use etcdctl elect (or a client library) with a lease for leader election between two copies of a small job. Kill the leader and watch the other take over.