Module 01
Scaling a Service
One server is not enough. Spread work across many, keep hot data close, and keep the cluster stable as it grows.
Module 02
Databases and Replication
One copy of the data is a single point of failure, and one machine cannot hold it all. Copy it, agree on what a read may return, and cut it into pieces that spread the load.
Module 03
Queues and Streams
Put a buffer between fast and slow parts, decide what a message promise really is, and split a stream into ordered partitions that many consumers can share.
Module 04
Rate Limiting and Backpressure
Demand can exceed capacity. Cap who may call, shed what cannot finish in time, and make failing callers back off instead of piling on.
Module 05
Consensus and Coordination
Nodes that cannot tell slow from dead still have to agree. How failure is suspected, how a cluster elects a leader and replicates a log safely, and why a lock alone cannot protect your data.
Module 06
Observability
You cannot fix what you cannot see. Measure latency without lying to yourself, follow one request across services, and alert on what threatens your users.
Module 07
Storage Engines
How a database keeps data on disk. Pages and the write-ahead log in a B-tree, sorted files and compaction in an LSM tree, and the indexes and Bloom filters that make reads cheap.
Module 08
Distributed Transactions
How to change data on several machines and stay correct. Two-phase commit and the lock it leaves behind when a coordinator dies, sagas that undo instead of roll back, and idempotency keys and the outbox that make retries safe.
Module 09
Edge and Networking
What happens between a user and your service. Edge caches that keep traffic off the origin and the TTL that sets their freshness, DNS and the delay it adds to failover, and connection pools and the head-of-line blocking that packet loss causes on TCP.
Module 10
Design Walkthroughs
Whole-system interview designs that reuse ideas from the earlier modules. A URL shortener, a news feed and a chat system, each taken from requirements and numbers through the API, the data model, the core mechanism, scaling and failure.
Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms