
Full Section 1 lesson: reviewer roles, the severity ladder (BLOCK / MAJOR / ADVISE / NIT), the decided-assumed-hoped reading method, and drawing the proposed architecture before you critique it. Companion notes are attached as a downloadable resource.
The arithmetic pass that kills bad designs in five lines: request QPS, read and write fan-out, storage fit, Little's law for pools and threads, and tail latency at high percentiles. By the end you can veto a design with numbers the whole room can check.
Place every consistency guarantee on one ladder - linearizable, sequential, causal, eventual - anchored to the ATM, the group chat and DNS. See why sequential consistency accepts histories that linearizability rejects, why causal is the strongest model that stays available under partition, and how to untangle serializability vs linearizability and CAP's C vs ACID's C. Ends by rewriting PhotoShare's vague 'feel fresh' goal into three named, testable consistency models.
What CAP actually says - and why 'pick two of three' is the wrong reading. The trade-off activates only during a network partition: linearizability or availability. CA is not a real operating point, and PACELC matters more day to day - if partitioned, availability vs consistency; else latency vs consistency (Spanner/CockroachDB at PC/EC, Dynamo/Cassandra at PA/EL). Then the three walls: Two Generals (exactly-once delivery is impossible), FLP (async consensus cannot be guaranteed to terminate), and Byzantine faults (3f+1 nodes to tolerate f liars - and why BFT inside your own datacenter is a review smell).
Consensus is the beating heart of every strongly consistent store and lock service. Watch a live Raft election with randomized timeouts, follow a write from uncommitted to committed via quorum intersection, see split-brain and log divergence resolved safely, then turn it all into a seven-point review checklist for any design that says we will just use Raft. Reading notes are attached as a resource.
Why just use a timestamp is one of the most dangerous phrases in a design review: clock skew and last write wins silently discard committed updates. Learn Lamport and vector clocks for causal ordering and true conflict detection, hybrid logical clocks and Spanner TrueTime, and the distributed lock trap - GC pauses, lease expiry and fencing tokens. Ends by killing the wall clock in the PhotoShare doc. The attached notes summarize every rule and red flag.
Two phase commit has a happy path and a horror story: a coordinator crash after the votes leaves participants blocked, holding locks, forbidden to abort. Sagas trade atomicity and isolation for availability - an apology executed reliably. Then a real MVCC engine demonstrates write skew: two transactions, each correct alone, destroy an invariant that snapshot isolation cannot see. Ends with the isolation decision table, the review script, and the outbox pattern fixing the dual write in the PhotoShare doc. The attached notes carry the full anomaly table and review questions.
Adding a read replica is never free: it silently breaks read-your-writes, and the user watches their own comment vanish while every component reports healthy. This lesson names the lag family - read-your-writes, monotonic reads, consistent prefix - and gives each a cheap fix. Then the quorum trap: R plus W greater than N buys overlap, not linearizability, and two healthy quorum reads can observe reversed order live. CRDTs converge by algebra but do not preserve your invariants. Finally, partitioning measured over 100,000 real keys: naive mod-N moves 80 percent of keys on resize, consistent hashing with virtual nodes fixes rebalancing, but no hashing fixes a hot shard - demand the traffic histogram, not the key histogram. The attached notes carry the full anomaly list, the quorum counterexample, and the measured numbers.
Train your failure imagination on the outages docs never list. You will interrogate every box for gray failures - degraded but not dead, where the health check passes while users suffer - and see why a gray node is worse than a crash. Then watch three live simulations: a retry storm where a six second blip mints an outage three times longer and layered retries multiply to 27x, a metastable failure that continues after its trigger is fixed because a load-bearing cache fell into a self-sustaining loop, and the exactly-once myth replaced by at-least-once delivery plus idempotency keys for effectively-once effects. Ends by rewriting the PhotoShare upload path to be effectively once.
This lesson covers the performance and concurrency traps that quietly break production systems. You will learn how tail latency and fan-out multiply rare slow paths into common ones, why Little Law and the utilization knee make a service at 95 percent busy explode, how cache stampedes dogpile a database and how single-flight coalescing stops them, and how races, deadlocks and memory models cause silent correctness bugs. By the end you will be able to run each of these checks on a design doc out loud.
The most expensive bugs are approved in a design review. One unquestioned assumption about consistency, retries, or clock skew becomes a multi-hour outage, a corrupted dataset, or a 3am page long after the document was signed off. This course trains the skill that prevents that: reading a distributed-systems design document and independently finding the flaw everyone else missed.
This is not a course on how to design systems from scratch, and it is not system-design interview preparation. It is about the reviewers job: adversarial, independent judgment applied to someone elses architecture before it ships. You learn to interrogate a design doc, rank issues on a clear severity ladder, and separate a rubber-stamp approval from a review that actually protects production.
WHO THIS COURSE IS FOR
- Senior, staff, and principal engineers who review or sign off on system designs
- Engineers moving from senior toward staff or principal who want review to become a strength
- Tech leads and architects responsible for design-review quality on their team
- Anyone who has watched a shipped design cause an outage and wants to catch the next one first
WHO THIS COURSE IS NOT FOR
- Beginners, bootcamp graduates, or engineers new to distributed systems: the material moves fast and assumes you already know the fundamentals
- People looking for system-design interview drills or how-to-build-X tutorials
- Anyone who wants copy-paste architecture templates rather than judgment and reasoning
REQUIREMENTS
You should already be comfortable with distributed systems, databases, networking, and concurrency, and be able to read a real design document. This is an advanced, opinionated course. If terms like linearizability, quorum, or write skew are new to you, start with a fundamentals course first, then come back; you will get far more out of it.
WHAT YOU WILL BE ABLE TO DO
- Interrogate a design document and rank every issue on a clear severity ladder
- Run back-of-the-envelope capacity math that exposes numbers that cannot physically work
- Reason precisely about consistency, consensus, replication, and failure modes instead of hand-waving
- Deliver hard feedback that lands, and disagree without stalling the team
The core is the distributed-systems knowledge that separates a real reviewer from a rubber stamp. You work through the consistency spectrum (linearizability, sequential, causal, eventual) and the confusions that trip up even experienced engineers, such as linearizability versus serializability and CAP C versus ACID C. You apply CAP and PACELC as they were actually defined, not as pick two of three, and you learn what impossibility results like FLP, the Two Generals Problem, and Byzantine faults really mean for a design.
You go deep where designs quietly break: consensus with Paxos and Raft; time, clocks, and causality (clock skew, Lamport and vector clocks, HLC, TrueTime); distributed locking, leases, and fencing tokens, including the Redlock debate; distributed transactions with 2PC, 3PC, and Sagas; isolation levels and anomalies like write skew, snapshot isolation, SSI, and MVCC; replication guarantees such as read-your-writes, monotonic reads, quorums (R plus W greater than N), and CRDTs; and partitioning with consistent hashing.
You then build a working model of the failure modes behind real incidents: gray failures, cascading failures, retry storms, and metastable failures; the exactly-once myth and how idempotency actually works; and tail latency through queueing theory, Littles Law, and the utilization trap, along with caching, backpressure, and load shedding. The course finishes with non-functional review (SLIs, SLOs, error budgets, observability, the debug-at-3am test), advanced patterns (event sourcing, CQRS, watermarks, formal methods such as TLA+), and the human craft of review: delivering critical feedback, disagree and commit, and avoiding cognitive bias and bikeshedding.
Every concept is grounded in the sources senior engineers already trust, including Designing Data-Intensive Applications, the Raft paper, The Tail at Scale, the metastable-failures research, the Google SRE book, and Use of Formal Methods at AWS. You finish with a graded capstone that has you review deliberately flawed designs, plus a red-flag catalog you can take straight into your next review.
Enroll and become the engineer who catches the catastrophic flaw before it ships: the reviewer teams trust, and the judgment that moves you toward staff and principal.