LOAD-BEARINGfree
Tier 47 lessons, about 95 minutes of reading · checkpoint at the top

Scale Out

One box is no longer enough. Balancers, caches, edges, replicas and shards — each introduced as a response to a named bottleneck.

Units on this floor

  1. Load balancing, L4 and L74.01 · 12 min

    The moment you run more than one server, something has to decide which one gets each request. That something is a load balancer, and it has two jobs: spread the traffic evenly, and — the…

  2. Caching: four strategies, three failures4.02 · 15 min

    Caching is the highest-leverage optimisation in system design — Tier 0's latency table showed memory beating flash by a couple of hundred times and beating cross-region hops by thousands…

  3. CDN and the edge4.03 · 11 min

    A CDN is a cache with geography. Tier 0 established the unmovable fact: Mumbai to Virginia is ~180 ms round trip, and no code fixes physics. What does fix it: don't make the trip. A CDN…

  4. Replication and read replicas4.04 · 14 min

    Replication means keeping copies of your data on multiple machines. Two motivations, both excellent: read capacity (many copies can serve many readers) and survival (a machine dies; its…

  5. Sharding and consistent hashing4.05 · 15 min

    Sharding is what remains when everything else is exhausted: the data, or the write volume, genuinely no longer fits on one machine, so you split the data itself across many. Each shard…

  6. Replica or cache: choosing, not collecting4.06 · 12 min

    This tier taught you caching in 4.02 and read replicas in 4.04, and then did what most material does: left you holding two tools that solve the same sentence — "reads are too expensive" —…

  7. One system, five orders of magnitude4.07 · 16 min

    Every mechanism in this tier has been introduced on its own, as an answer to a problem stated in the abstract. That is the wrong shape for how any of this actually happens. In a real…