It helps quickly check if a system design is feasible before investing more effort.
Which is a limitation of back-of-the-envelope estimation?
AIt is very slow
BIt requires complex tools
CIt may miss detailed bottlenecks
DIt replaces detailed testing
✗ Incorrect
Because it is approximate, it can miss detailed issues that need deeper analysis.
Back-of-the-envelope estimation is most useful during which phase?
AEarly system design
BFinal testing
CProduction monitoring
DUser training
✗ Incorrect
It is used early to guide design decisions before detailed work begins.
Explain how you would perform a back-of-the-envelope estimation for a new social media app's server capacity.
Think about how many people might use the app and how often they interact with it.
You got /5 concepts.
Describe the benefits and limitations of using back-of-the-envelope estimation in system design.
Consider why quick estimates are helpful and what risks come with rough calculations.
You got /5 concepts.
Practice
(1/5)
1. What is the main purpose of back-of-the-envelope estimation in system design?
easy
A. To quickly estimate system requirements using simple calculations
B. To write detailed code for the system
C. To create a full architecture diagram
D. To perform in-depth performance testing
Solution
Step 1: Understand the goal of back-of-the-envelope estimation
This method is used to quickly guess system needs without detailed work.
Step 2: Compare options to the goal
Only To quickly estimate system requirements using simple calculations matches the quick estimation purpose; others are detailed tasks.
Final Answer:
To quickly estimate system requirements using simple calculations -> Option A
Quick Check:
Quick estimation = To quickly estimate system requirements using simple calculations [OK]
Hint: Focus on quick, simple calculations for early guesses [OK]
Common Mistakes:
Confusing estimation with detailed design
Thinking it involves coding or testing
Assuming it requires full diagrams
2. Which of the following is the correct way to start a back-of-the-envelope estimation for a web service's daily traffic?
easy
A. Calculate exact user behavior with detailed logs
B. Estimate average users per hour and multiply by 24
C. Design the database schema first
D. Write the full API specification
Solution
Step 1: Identify the starting point for traffic estimation
Back-of-the-envelope estimation uses simple averages, not detailed data.
Step 2: Evaluate options for simplicity and relevance
Estimate average users per hour and multiply by 24 uses average users per hour times 24 hours, a simple and effective start.
Final Answer:
Estimate average users per hour and multiply by 24 -> Option B
Quick Check:
Simple average x time = Estimate average users per hour and multiply by 24 [OK]
Hint: Use simple averages and multiply by time units [OK]
Common Mistakes:
Starting with detailed logs instead of rough estimates
Jumping to design before estimating traffic
Confusing estimation with specification writing
3. You estimate a system will have 10,000 users daily, each making 5 requests on average. What is the total number of requests per day?
medium
A. 100,000 requests
B. 2,000 requests
C. 15,000 requests
D. 50,000 requests
Solution
Step 1: Multiply users by requests per user
10,000 users x 5 requests each = 50,000 requests.
Step 2: Confirm total requests per day
The total is simply the product of users and requests per user.
Final Answer:
50,000 requests -> Option D
Quick Check:
Users x requests = 50,000 [OK]
Hint: Multiply users by average requests per user [OK]
Common Mistakes:
Adding instead of multiplying
Mixing up users and requests
Choosing an option too large or too small
4. A designer estimated 1 million requests per day but forgot to consider peak hour traffic. What is the likely problem with this estimation?
medium
A. Ignoring average request size affecting storage needs
B. Overestimating total daily traffic causing wasted resources
C. Underestimating peak load leading to potential system overload
D. Not including user authentication time
Solution
Step 1: Understand the impact of ignoring peak traffic
Peak traffic is often much higher than average, so ignoring it underestimates load.
Step 2: Identify the consequence of underestimation
System may overload during peak times if capacity is based on average only.
Final Answer:
Underestimating peak load leading to potential system overload -> Option C
Quick Check:
Ignoring peak = underestimation risk [OK]
Hint: Always consider peak, not just average, traffic [OK]
Common Mistakes:
Assuming daily average covers peak needs
Confusing storage with traffic load
Focusing on unrelated factors like authentication time
5. You need to estimate the storage required for a photo-sharing app. Each photo is 3MB, and you expect 500,000 uploads per month. What is the approximate monthly storage needed?