Skip to main content

Failure Models & CAP

Reason like a staff engineer: why a timeout tells you almost nothing, CAP as a per-partition choice rather than pick-2-of-3, and real databases placed on the PACELC spectrum with their latency tax named.

0/3

Consistency & Time

Place any system precisely on the consistency spectrum with its coordination cost, fix staleness bugs with the four session guarantees, order events without a shared clock, and treat clock drift as a correctness input.

0/4

Consensus & Coordination

Replicating a service correctly reduces to agreeing on an ordered log; reason through Raft across a leader crash, and pick concrete N/R/W quorum settings while naming exactly what consistency you get.

0/3

Distributed Transactions

Atomicity across independently-owned services: why 2PC blocks at scale, how sagas trade isolation for progress, how the outbox kills the dual-write problem, and why exactly-once is an application property.

0/4

Membership & Failure Handling

Converge replicas without coordination via CRDTs and anti-entropy, detect crashes without falsely evicting slow nodes, prevent split-brain with leases and fencing tokens, and know when BFT is justified.

0/4