System Design · Fundamentals · Topic 4 of 4
Back-of-the-Envelope Estimation
4 questions.
Your progress0%
- 1st Visit
- 0/4
- 2nd Visit
- 0/4
- Revise
- 0/4
Overview
Back-of-the-envelope estimation is the quick arithmetic used early in a design interview to size a system: requests per second, storage growth, bandwidth, cache memory and server count. The goal is the right order of magnitude, not precision, so round aggressively and state assumptions aloud. Interviewers use estimation to check whether you can tell when a single database is enough and when sharding, caching or a CDN becomes necessary. Expect it whenever a prompt gives user counts such as 100 million daily active users, or asks how much storage five years of data would need. Practise a few standard calculations until each takes under two minutes.
Questions
| # | Problem | Platform | Difficulty | Open | 1st1st Visit | 2nd2nd Visit | RevRevise |
|---|---|---|---|---|---|---|---|
| 1 | Which numbers should you know for back-of-the-envelope estimation? | Concept | Easy | Read the answer to Which numbers should you know for back-of-the-envelope estimation? | |||
| 2 | How do you estimate the queries per second (QPS) a system must handle? | Concept | Medium | Read the answer to How do you estimate the queries per second (QPS) a system must handle? | |||
| 3 | How do you estimate the storage a system will need over several years? | Concept | Medium | Read the answer to How do you estimate the storage a system will need over several years? | |||
| 4 | How do you estimate bandwidth, cache size and the number of servers? | Concept | Medium | Read the answer to How do you estimate bandwidth, cache size and the number of servers? |