Home/Labs/100k Seconds/Day Estimator
All 280 Labs
INTERACTIVE LAB📐

Back-of-the-Envelope Estimation Lab (Interactive)

Turn requests-per-day into average and peak QPS, MB/s versus Mbps, and replicated storage using interview-grade mental math. Round 86,400 to 100,000 seconds, apply 2x-5x peak multipliers, and compare Jeff Dean latency numbers at the click of a selector.

100,000-Seconds-a-Day Mental Math Trainer

Convert business scale into QPS, bandwidth, and storage the way interviewers expect.

Jeff Dean latency magnifier

The slower op is 750,000×× slower.

Whiteboard output

Average QPS3,000
300M ÷ 100,000 s
Peak QPS (×2)6,000
size for peak, not average
Throughput6.0 MB/s
= 48 Mbps (×8 bits)
Daily new data600.0 GB
×3 replicas +30% index → 2.34 TB/day physical
💡 Instant benchmarks: 1M/day ≈ 10 QPS · 100M/day ≈ 1,000 QPS · 1B/day ≈ 10,000 QPS. Bytes for storage, bits for NICs: 25 MB/s = 200 Mbps.
Powers of 2 vs 10: 2^10 ≈ 1 KB · 2^20 ≈ 1 MB · 2^30 ≈ 1 GB · 2^40 ≈ 1 TB. Round aggressively — order of magnitude is the deliverable, not decimals.

How It Works Under the Hood

Back-of-the-envelope estimation bounds order of magnitude, not decimals: 1M requests/day is 10 QPS, 1B is 10,000 QPS once you round a day to 100,000 seconds. Peak sizing multiplies average by 2-3x (or 3-5x for flash events). Bytes and bits are conflated at your peril — storage is B/s, NICs are b/s, so multiply by 8. The latency hierarchy from 0.5 ns L1 cache to 75 ms transatlantic RTT explains why caching, indexing, and locality exist at all.

Core Architectural Principles

  • Average QPS = daily requests ÷ 100,000; peak = 2x-5x average depending on the product.
  • Jeff Dean's hierarchy: DRAM 100 ns, NVMe random 20-50 µs, LAN RTT 0.5 ms, NYC-London 75 ms.
  • Physical sizing multipliers: 3x replication for cross-AZ durability plus 30-50% index overhead.
Interview Round Script

Say the constants out loud: "There are 86,400 seconds a day, I will round to 100,000." State peak multipliers before anyone asks, and never mix Bytes and bits — 25 MB/s is 200 Mbps. Bounding the order of magnitude in three minutes and then discarding unviable architectures is what interviewers actually score.

Key Trade-Offs

Aggressive rounding risks precision you do not need for architecture but must never use for billing; estimating average load while provisioning for peak is the classic failure mode.

Related Curriculum Chapter

Back-of-the-Envelope Estimation Techniques

Read Full Chapter Blueprint

Explore More Interactive Labs

View All 280 Labs