System Design Throughput & Capacity Estimator

Back-of-the-envelope sizing for distributed systems: QPS, Peak Network Bandwidth, Multi-Year Storage, Cache RAM, and Compute Nodes.

🔒 Zero-Custody: 100% client-side capacity modeling. Save scenarios locally or share via URL hash — zero server calls.
Math Mode:
Architecture Presets:

Traffic & Daily Workload

Step 1
10.0M
3x
1x (flat)3x (typical)10x+ (flash event)

Payloads & Binary Media

Step 2
Peak Throughput100.0:1 R/W
35.1K QPS
Read: 34.7KWrite: 347.2
5-Year Total Storage5y lifecycle
34.2 TB
DB: 34.2 TBMedia: 0 B
Peak Edge BandwidthIngress + Egress
0.14 Gbps (17.4 MB/s)
Peak Ingress:0.17 MB/s (0.00 Gbps)
Origin Egress (post-CDN):3.47 MB/s (0.03 Gbps)
Infrastructure SizingPeak Capacity
25 App Nodes
Hot Cache RAM (Redis):125 GB
Recommended DB Shards:18 Shards (~2 TB each)

Principal Architect Bottleneck Advisor

Dynamic Heuristics
Read-Heavy Architecture (100:1 R/W Ratio)Caching

Implement read replicas and a multi-tier caching layer (Redis/Valkey + CDN). Origin database cannot sustain raw read volume directly.

Trigger: 34.7K Peak Read QPS vs 347.2 Peak Write QPS
Database Volume Requires Sharding (34.2 TB)Database

Metadata storage exceeds the comfortable 2 TB threshold for a single OLTP database node. Plan horizontal database sharding by consistent hashing (e.g. hash(userId) or hash(entityId)) or implement automated cold-data archiving.

Trigger: Est. 18 DB Shards needed across 5 years
Large Hot Cache Working Set (125 GB RAM)Caching

A single Redis instance cannot reliably manage >64 GB without snapshotting/forking latency penalties. Deploy a distributed Redis/Valkey Cluster with consistent hashing across multiple nodes.

Trigger: 125 GB Redis Hot Set Memory

The 5-Step Back-of-the-Envelope Estimation Framework

In distributed systems architecture and FAANG-level system design interviews, back-of-the-envelope capacity planning is not an exercise in academic precision. Instead, it is a deterministic engineering discipline used to establish orders of magnitude, disqualify infeasible designs early, and right-size infrastructure tiers before provisioning resources.

1. Traffic (QPS & Peak)

Derive daily reads and writes from DAU and user action frequency. Compute average QPS and multiply by a realistic peak traffic multiplier (typically 2x–5x) to prevent cascading failover during demand spikes.

2. Bandwidth (Ingress & Egress)

Compute MB/s and translate to decimal Gbps ((Bytes/sec × 8) ÷ 10^9). Check against standard 10 Gbps and 25 Gbps network interface cards (NICs) to spot network saturation early.

3. Storage Tiering (Metadata vs. Blobs)

Separate structured database records from binary media blobs (images/videos). Apply database replication (typically 3x) and indexing overhead (+25%) exclusively to durable database storage, keeping object storage tiering decoupled.

4. Memory & Cache Working Set

Apply the Pareto 80/20 heuristic: cache 20% of daily active read volume to absorb 80% of queries. Factor in memory allocator overhead (1.25x for Redis/Valkey jemalloc slab allocation) and max node memory ceilings.

5. Compute Tier & High Availability Constraints

Size stateless application containers or VMs based on sustainable single-node request capacities at 60–70% target CPU utilization. Enforce high-availability constraints (minimum 2 nodes across availability zones) regardless of low traffic volume.

Exact Math (86,400s) vs. Interview Rounding (100,000s)

In real-world production capacity planning, engineers use the exact count of seconds in a day: 24 × 60 × 60 = 86,400 seconds. However, whiteboard system design interviews require rapid mental arithmetic without calculators. Using 100,000 seconds per day yields an intentional ~15.7% conservative safety margin that simplifies order-of-magnitude estimations:

Daily Volume Exact QPS (÷ 86,400) Interview QPS (÷ 100,000) Mental Arithmetic Shortcut
10 Million req / day 115.7 QPS 100 QPS Drop 5 zeros: 10M ÷ 100k = 100
50 Million req / day 578.7 QPS 500 QPS Drop 5 zeros: 50M ÷ 100k = 500
100 Million req / day 1,157.4 QPS 1,000 QPS (1k) 10^8 ÷ 10^5 = 10^3 = 1,000
1 Billion req / day 11,574 QPS 10,000 QPS (10k) 10^9 ÷ 10^5 = 10^4 = 10,000

System Design Formulas Cheat Sheet

Architecture Metric Formula Notes & Sizing Rules
Average QPS Daily Requests ÷ SecondsPerDay SecondsPerDay = 86,400 (exact) or 100,000 (interview)
Peak Throughput Average QPS × PeakMultiplier Standard multiplier is 2x to 5x for diurnal consumer traffic
Network Bandwidth (Gbps) (Throughput_Bytes_Sec × 8) ÷ 10^9 SI decimal networking standard (1 Gbps = 1,000,000,000 bits/sec)
Database Storage (N Years) Daily_DB_Bytes × 365 × Years × Repl × IndexOverhead Standard: 3x replication (Raft/Paxos) + 25% B-tree/LSM indexes
Blob / Object Storage (N Years) Daily_Blob_Bytes × 365 × Years S3/GCS media storage; durability managed by cloud erasure coding
Cache RAM Sizing Daily_Read_Bytes × HotSetPct × 1.25 Pareto 20% hot set + 25% jemalloc memory fragmentation factor
Stateless Compute Nodes max(2, ceil(Peak_QPS ÷ Node_Capacity)) Minimum 2 nodes for High Availability across multiple Availability Zones

Related Zero-Custody Developer & Architecture Tools

Security & Cryptography
Base64 & Hex Web Crypto Encoder →
Encode & decode Base64, Base64URL, and Hex strings or binary files offline with SHA-256 integrity.
Date & Time
Unix Epoch Converter →
Convert timestamps across seconds, milliseconds, and nanoseconds with Y2K38 checks.
Security & Tokens
Zero-Custody JWT Auditor →
Inspect and decode JWT claims offline with alg:none vulnerability audits.
Identifiers
UUID / ULID Generator →
Generate secure UUID v4, sortable ULIDs, and NanoIDs via native browser Web Crypto CSPRNG.
Productivity
JSON to TypeScript Generator →
Convert JSON payloads into TypeScript interfaces and type aliases 100% offline.