Latency ladder
From L1 cache to a round trip across the Atlantic, on a scale you can feel.
- CPU
- Memory
- Storage
- Network
Log scale, one gridline per 10×. Ratios against: L1 cache reference (1 ns).
Memory is ~100× L1, and leaving the machine is another world: one California ↔ Netherlands round trip costs as much as ~150 million L1 reads.
How it's calculated · assumptions
latency ≈ Σ hops on the critical path · memory ≈ 100× L1 · SSD ≈ 100–1,000× memory · cross-continent ≈ 300× same-DC round trip
Design around round trips: cache near the reader (a CDN), batch calls, keep the critical path inside one datacenter.
Values: Colin Scott's interactive "Latency Numbers Every Programmer Should Know" model at year 2020, the last on its slider (checked Nov 2026). It extrapolates hardware trends from Norvig's ~2002 table, so read orders of magnitude, not benchmarks. The disk rows are the most extrapolated: the classic tables list ~8–10 ms per seek (Norvig, Jeff Dean) and ~20 ms to read 1 MB from disk (Norvig).