Availability in system design interviews
Availability in system design interviews. What a nine hides, planned versus unplanned work, independent redundancy, and the user-visible error budget.
How distributed nodes agree, elect a leader, lock a resource and finish a write that touches more than one store.
Availability in system design interviews. What a nine hides, planned versus unplanned work, independent redundancy, and the user-visible error budget.
Consensus in system design interviews. Agreement, validity, and termination in plain words, why a majority works, and where it sits in a drawing.
Distributed locks for system design interviews. Fencing tokens, expiry, the cases Redis misses, and the work that must not run twice.
Distributed transactions for interviews. Why one BEGIN is gone, how outbox, saga, and 2PC differ, and a charge that must match a ledger row.
Fault tolerance for system design interviews. Name the fault first, then retries, isolation, bulkheads, and a store or queue that can lose a node.
Leader election for system design interviews. Why one writer exists, how leases and fencing stop a dead leader, and how to draw split brain.
Raft consensus for system design interviews. Leader, log, and majority, an election after a crash, and what Raft still does not give you.
Two phase commit for system design interviews. Prepare and commit, why the coordinator cannot vanish, and when a saga is the better story.