InterviewHubPRO
Section Overview
Q44

Question 44 of 50

Part 5: Back-of-the-Envelope Estimation & Production Calculations (44 - 50)

88%
System Design (50 Qs)•Part 5: Back-of-the-Envelope Estimation & Production Calculations (44 - 50)

Latency Numbers Every Software Engineer Should Know.

In Simple Words: Approximate physical hardware latencies that dictate architectural trade-offs:

OperationApproximate LatencyScaled to Human Perspective
L1 Cache Reference0.5 ns1 heart beat
L2 Cache Reference7 ns14 heart beats
RAM Main Memory Reference100 ns3.3 minutes
NVMe SSD Random Read10,000 ns (10 µs)5.5 hours
Standard Datacenter Network RTT500,000 ns (0.5 ms)11.5 days
Disk Seek (Mechanical HDD)10,000,000 ns (10 ms)8 months
Transatlantic Cable Packet (NYC to London)100,000,000 ns (100 ms)6.5 years