Skip to the guide

Step 4: Estimates that change the design (and when to skip them)

IntermediateConcept3 pages

Minutes 12–16 of the clock, 9–12 on a 35-minute one. Back-of-envelope estimation teaches the method (users, actions, per second, bytes) and Latency numbers the constants. This page is about the round: which numbers to work out, how to tie each to a decision, and when one line is enough.

Buying a sofa

Before buying a sofa, you measure two things: the doorway it has to pass through, and the wall it will stand against. You don't measure the ceiling height or how much the floor can carry; for a sofa, they never decide anything. And if you're buying a small stool, you don't measure at all.

Each estimate is a measurement, worth taking only if the answer could change what you buy. The doorway is the rate one box can take: writes for a database leader, operations for a cache node, bytes for a server's network card. The wall is whether the data fits, on one shard's disk or in one node's memory. The ceiling is a number that never decides anything for this design, and the stool is the small system you don't measure at all.