The full system design curriculum
Every unit of the course, readable in full and free. 106 lessons across fifteen tiers, 19 architecture labs and 12 low-level design dojos — from what happens when you tap a button, through caching, replication, sharding, consensus and event-driven architecture, up to multi-region topology and live migrations.
The pages here are the reading. The course itself adds the checkpoints, the XP, and the drafting canvas that grades the architectures you draw.
Tier 0 — Ground Zero
No jargon yet. What a system is, what it costs, and the numbers you will use for the rest of your career.
- Anatomy of a click10 min
- The numbers you must memorise12 min
- Scale up, or scale out10 min
- What 99.9% really costs10 min
- The 45-minute script12 min
Tier 1 — The Wire
How bytes actually get from a phone in Jaipur to a server in Mumbai, and which protocol to pick when.
Tier 2 — LLD Foundations
Low-level design. Classes, responsibilities, patterns and the concurrency bugs that hide inside a single service.
Tier 3 — The Data Layer
Where the data actually lives. Storage engines, indexes, transactions, and choosing a database for reasons you can defend.
- B-Tree vs LSM: how rows are stored13 min
- Indexes and what they cost13 min
- SQL vs NoSQL: the real decision tree13 min
- Transactions and isolation levels14 min
- Normalise, then denormalise on purpose12 min
- The connection ceiling, and why pgbouncer exists13 min
- Storing history: soft deletes, audit tables, temporal data13 min
- Object storage: where the bytes live13 min
- Search: the inverted index and the reindex you owe14 min
- Time-series and append-heavy data13 min
- MVCC: how readers stop blocking writers14 min
- The disk underneath the database14 min
Tier 4 — Scale Out
One box is no longer enough. Balancers, caches, edges, replicas and shards — each introduced as a response to a named bottleneck.
Tier 5 — Service Boundaries
How many services, and where the seams go. The decision that is hardest to reverse, and the one every architect gets judged on.
Tier 6 — Distributed Systems
More than one machine holding state. Consistency, consensus, queues, and transactions that span services.
- CAP is a bumper sticker. Use PACELC.13 min
- Consistency models, ranked13 min
- Consensus and leader election13 min
- Queues, logs and delivery guarantees14 min
- Transactions across services: saga and outbox14 min
- Clocks lie and processes freeze14 min
- Idempotency as an end-to-end property14 min
- Durable execution: workflows that outlive the process14 min
- Vector clocks, and telling concurrent from newer15 min
- Gossip: how a cluster knows who is alive14 min
Tier 7 — Derived Data
The other half of the system. Analytical stores, pipelines, read models rebuilt from history, and who owns the number when three teams report it differently.
- OLTP and OLAP: one database cannot do both14 min
- Columnar storage and the warehouse14 min
- Batch or stream, and when nightly is correct13 min
- Event sourcing and CQRS16 min
- Data contracts: who owns the number13 min
- Change data capture: the log as an integration point15 min
- Stream state, windows, and the exactly-once claim15 min
Tier 8 — On the Device
The rectangle labelled "user" is a replica you do not control, cannot upgrade and cannot take offline. Local stores, optimistic writes, sync, and conflict resolution on the device.
Tier 9 — Production Reality
The system is live. Now: seeing inside it, budgeting failure, limiting abuse, containing fires, shipping without stopping, and getting the data back.
- Observability that answers questions12 min
- SLI, SLO and the error budget11 min
- Rate limiting: four algorithms13 min
- Containing failure14 min
- Shipping without downtime13 min
- Proving resilience: chaos and load13 min
- Capacity planning and headroom13 min
- Alerts that earn a page13 min
- The postmortem12 min
- Backups, and the restore nobody has tested14 min
Tier 10 — Where It Runs
Every diagram in this course lands on physical infrastructure. Compute models and what each costs, reconciliation loops, the geography under "multi-region", meshes, and the pipeline as a production system.
Tier 11 — Probabilistic Systems
Components that return a different answer twice and are sometimes wrong on purpose. GPUs as scarce scheduled capacity, retrieval, vector indexes, feature pipelines, and testing what you cannot assert on.
Tier 12 — Trust Boundaries
Who is calling, what they may do, and keeping tenants out of each other’s data.
- Authentication: proving who is calling14 min
- Authorization: deciding what they may do14 min
- Service identity and secrets13 min
- Multi-tenancy and isolation14 min
- Designing against an adversary13 min
- Scope reduction: designing to touch less13 min
- Personal data and the DPDP Act14 min
- Encryption, keys, and the field you cannot index14 min
- Threat modelling as a meeting that ends13 min
- Certificates, and the expiry that takes you down15 min
- Data residency and the isolated region15 min
Tier 13 — Real Systems
Stop reading. Build. 19 complete systems on the drafting canvas, plus 12 low-level design problems with graded answers.
- URL shortenerlab
- Typeahead searchlab
- News feedlab
- Chat messaginglab
- Ride hailinglab
- Video streaminglab
- Payment ledgerlab
- Notification fanoutlab
- Multi-tenant SaaSlab
- Inventory and bookinglab
- Metrics pipelinelab
- Distributed schedulerlab
- Collaborative editorlab
- Search with reindexlab
- Web crawlerlab
- Async invoicing pipelinelab
- Semantic search at scalelab
- Splitting the monolithlab
- The egress billlab
- Parking lotdojo
- Elevator bankdojo
- Rate limiter classdojo
- Splitwise ledgerdojo
- Vending machinedojo
- Cache with evictiondojo
- Circuit breakerdojo
- Connection pooldojo
- Retry policydojo
- Delayed job queuedojo
- Idempotency middlewaredojo
- In-process event busdojo
Tier 14 — Staff Territory
The problems with no clean answer: geography, money, migrations, ambiguity, and the system somebody else designed.
- Multi-region, and why it hurts13 min
- Cost is an architecture constraint12 min
- Migrating a live system13 min
- Ambiguity and the tradeoff essay13 min
- Conway’s law, and build versus buy13 min
- Lock-in and exit cost as a design input13 min
- Platform teams and stream-aligned teams13 min
- The decision record, the design doc, and the review13 min
- The system you inherited and cannot stop14 min
- The catalogue of self-inflicted wounds14 min
- The same prompt, three answers14 min
- Cost per user, cost per transaction15 min