<aside>
This section is part of the 5-hour System Design course by Mukul Raina
Section 3: Capacity Estimation

Capacity estimation is where you turn a vague sense of “this needs to be fast” into concrete numbers that drive every architecture decision in your design. In a ride-sharing system, the numbers are not obvious. The dominant data flow is not ride requests. It is GPS location updates, and that single realization changes the entire system architecture.
This section is typically 2-3 minutes of your interview. Every number you estimate should motivate a specific architecture decision. If a number does not lead to a decision, it does not belong in your estimation.
What We’ll Cover
Where Capacity Estimation Feeds Into Later Sections
| Estimate | The Number | Architecture Decision | Covered In |
|---|---|---|---|
| GPS updates/sec | 1.25M/sec | Spatial index selection | Section 6: Geospatial |
| Trip count/day | 20M/day | Database sharding strategy | Section 8: Database Design |
| WebSocket connections | 5M concurrent | Dedicated gateway | Section 4: Architecture |
| Location history volume | 10 TB/day | Time-series DB, not relational | Section 8: Database Design |
| Peak local spikes | 80x normal in 2km | Autoscaling and queue buffering | Section 11: Scaling |
<aside>
Mukul Raina | youtube.com/@mukulraina | slides.mukulraina.com | LinkedIn
</aside>