← Back to the map

Unit 0 · Lesson 5

Estimation basics

Your boss asks: "Can one server handle the launch?" You have two minutes and no spreadsheet. A few rounded numbers are all you need.

By the end you can

Watch

Prefer reading? The same lesson is written out below.

An estimate isn't about being exact. It's about knowing whether you need one server or a thousand, a gigabyte or a petabyte. Being within a factor of two or three is plenty.

×10 each÷ ~100,000 s×3÷ per server10M users/day100M req/day~1,000 req/sPeak ~3,000/sServers
An estimate as a chain: 10 million daily users, 100 million requests a day, about 1,000 requests a second on average, about 3,000 a second at peak, then the number of servers needed.

Requests per second

The one number to remember: a day has 86,400 seconds, call it 100,000 (10⁵).

Say an app has 10 million daily users, each making about 10 requests a day:

Design for the peak, not the average. A system sized for the average falls over every evening.

Storage

Now say 10% of those users upload one photo a day, at about 2 MB each:

That one line tells you that photos can't live on one machine, and that storage cost matters.

Keep it quick

Key idea: daily requests ÷ 100,000 ≈ requests per second. Multiply by 2–3 for the peak. Storage = items per day × size × days. Round hard and state your assumptions.

Check yourself

An app gets 50 million requests a day. About how many requests per second is that on average?

requests/s

Your new flashcards

Practice them now. With a free account they come back in your daily review.

Card 1 of 4