The second course of the System Design Architect track. Foundations of Scale taught you to add servers, caches and replicas; this course teaches you what breaks when the data itself no longer fits on one machine or in one region. You will draw service boundaries, model data around access patterns, shard and replicate it, pick consistency models and quorums with your eyes open, coordinate with consensus and sagas, build search and geospatial indexes, order events without a shared clock, merge concurrent edits, and run a system across continents with numbers to back every decision. Ten challenges, four of them capstones, let you test each idea on the canvas.
Design APIs that survive growth, and draw service boundaries around data ownership rather than nouns.
When splitting a system into services pays off, what it costs, and how to migrate without a rewrite.
Centralise cross-cutting concerns at the edge with a gateway and between services with a mesh.
Model data from access patterns, choose partition keys deliberately, and denormalise where reads demand it.
How databases lay data on disk, and why that choice shapes write throughput, read latency and space.
Split data across machines by range, hash or directory, and rebalance without downtime.
Map keys to nodes so that adding or removing a node moves only a small fraction of the data.
Leader/follower, multi-leader and leaderless replication: who accepts writes and what that costs.
Linearizability, sequential, causal, read-your-writes and eventual consistency, and what users actually notice.
What the CAP theorem actually says, why PACELC is more useful day to day, and how to place real databases.
Tune N, W and R to trade latency, durability and consistency, and learn where quorums leak.
How a cluster agrees on a single ordered log despite failures, and when your design needs that.
Why wall clocks lie across machines, and how logical, vector and hybrid clocks order events safely.
Two-phase commit, why it blocks, and how sagas with compensations keep multi-service workflows correct.
Networks force retries; idempotent operations and deduplication make retries safe.
Local versus global secondary indexes, inverted indexes for full-text search, and keeping them in sync.
Find things near a point fast with geohashes, quadtrees and hexagonal grids.
Cache clusters, invalidation across services, stampedes, hot keys and the consistency they cost.
When concurrent writes collide: last-write-wins, merges, application logic and avoiding conflicts in the first place.
The two families of algorithms behind real-time collaboration and offline sync.
Active-passive versus active-active, the physics of cross-region latency, and how data follows users.
Steer users to the right region with GeoDNS, anycast and health-aware routing, and fail over fast.
How storage systems promise eleven nines, the cost of replication versus erasure coding, and why repair speed matters.
A repeatable method for hard design problems, and a checklist that ties every lesson in this course together.