solulubeta
Sign in
Cheat Sheets / System Design and ML
04.01 · Cheat sheet

System Design

The interview framework, numbers to estimate with, scaling, caching, databases, CAP, queues, reliability and the key idea behind common designs on one page.

3 min Cheat sheet Pro

The building blocks, numbers and trade-offs to bring into a design round.

The 45-minute framework

  1. Requirements: functional (what it does) and non-functional (scale, latency, availability).
  2. Estimates: users, requests per second, storage.
  3. API: the main endpoints.
  4. Data model: tables or documents, keys.
  5. High-level design: boxes and arrows.
  6. Deep dive: bottlenecks, scaling, failures.
  7. Trade-offs: say what you gave up and why.

Numbers to estimate with

ThingRoughly
Memory read100 ns
SSD random read0.1 ms
Same-datacenter round trip0.5 ms
Disk seek10 ms
Cross-continent round trip150 ms
  • 1 day ≈ 86,400 s ≈ 10⁵ s. 1 million requests a day ≈ 12 per second.
  • 2¹⁰ ≈ 10³. 1 KB × 1 billion = 1 TB.
solulu Pro

Continue this cheat sheet with Pro

Inside: 9 sections.

  • The 45-minute framework
  • Numbers to estimate with
  • Scaling the app
  • Caching
  • Databases
  • CAP and consistency
  • +3 more
Lifetime ₹1,999 ₹999 · Launch offer
Mark this as done when you are finished.

Item 11 of 12 · updated 2026-10-13