The chapters — one page each
- 01Partial failureAsha sends ₹500 and the call times out. Did the money move? Across a network, the honest answer is often “not known yet”.
- 02Talking between machinesMaking the transfer call safe to retry: idempotency keys, deadlines, errors the caller can act on, and messages that survive a rolling deploy.
- 03Time and orderA freeze and an unfreeze land on two machines whose clocks disagree. Order has to come from messages, and sometimes there is none to find.
- 04Replication and consistencyThree copies of the wallet in two data centres. Asha sends money, refreshes, and sees her old balance.
- 05Broadcast, gossip and ordering guaranteesEvery balance change has several listeners. Each needs a different guarantee about missing and reordered events, at a different price.
- 06ConsensusThe wallet’s replicas choose their own leader, never two at once, and never forget a transfer they acknowledged.
- 07Membership, failure detection and coordinationA wallet server pauses for fifteen seconds, loses its lease, and wakes up still acting as owner. The storage has to say no.
- 08Distributed transactionsAsha is on shard 3 and Ravi on shard 11. Moving ₹500 between them means two-phase commit or a saga, and each has a price.
- 09Systems that shippedDynamo, Spanner, Kafka, etcd and MapReduce read as sets of choices, and what the wallet would get from building on each.
- 10Breaking it on purposeTurning the wallet’s guarantees into checks, then trying to break them with recorded histories, injected faults, simulation and model checking.