Lesson 18 of 19
2. Back-of-Envelope Estimation

Sources

3 min read+10 XP

Source notes

  • Latency figures (memory ~100 ns, SSD random read ~150 µs, data-centre round trip ~500 µs, disk seek ~10 ms, California-Netherlands round trip ~150 ms): "Latency numbers every programmer should know", attributed to Jeff Dean and Peter Norvig. Approximate; they vary by hardware and year, but the gaps between them are what matter.
  • Powers of 2 (2¹⁰ = 1,024 ... 2⁵⁰ = 1,125,899,906,842,624) and all chapter arithmetic: computed 2026-10-05.
  • The 80/20 split and peak factors of 2 to 3 are common rules of thumb for interviews, not measured figures for any system.
  • PicShare, the video app and the chat app are made-up examples. All their numbers are interview assumptions, not real figures for any company.
  • Level 3 and Level 4 code: tested 2026-10-05 (code/ch02_estimator.py, all checks pass).