Step 1 / 12Setup
Why we do math on a napkin
Before choosing a database or counting servers, you need to know the size of the problem. Back-of-the-envelope estimation gives it in two or three minutes, with rough numbers.
Our running example: a social photo app with 10 million daily active users (DAU). We will estimate traffic, storage, bandwidth, cache and servers.
Interview tip
Nobody checks your exact answer. They check that you can make reasonable assumptions, do clean arithmetic, and use the result to choose a design.
“Let me do a quick back-of-the-envelope estimate to see how big this system is.”
←→ step·R restart·Space pause