System Design
1. System Design FundamentalsAnimated walkthrough
Back-of-the-Envelope Estimation
Quick rough maths to size a system.
The idea
Use round numbers to estimate users, requests per second, storage and bandwidth. The goal is the right order of magnitude, not precision.
Watch it work
The steps light up one at a time. Use the controls to pause or step through.
- 1Start from daily active users
- 2Estimate actions per user per day
- 3Convert to requests per second and peak
- 4Compute storage and bandwidth
1/4
Step by step
- 1Start from daily active users
- 2Estimate actions per user per day
- 3Convert to requests per second and peak
- 4Compute storage and bandwidth
Where it is used
Early design and interviews.
Watch out for
False precision. Powers of ten are enough.