Skip to main content
Understanding latency numbers is crucial for making informed decisions in system design. These numbers help you estimate performance characteristics and identify potential bottlenecks.

Latency Comparison Numbers

Time Unit Conversions

Handy Metrics

Based on the numbers above, here are some useful throughput metrics:
  • Read sequentially from HDD at 30 MB/s
  • Read sequentially from 1 Gbps Ethernet at 100 MB/s
  • Read sequentially from SSD at 1 GB/s
  • Read sequentially from main memory at 4 GB/s
  • 6-7 world-wide round trips per second
  • 2,000 round trips per second within a data center

Latency Numbers Visualized

Latency visualization

Key Takeaways

  1. Memory is fast - Main memory is significantly faster than disk storage
  2. Network is slow - Even within the same datacenter, network calls add significant latency
  3. Sequential access is faster - Reading sequentially is much faster than random access
  4. SSD vs HDD - SSDs are approximately 30x faster than HDDs for sequential reads
  5. Geographic latency - Cross-continental network calls take 150ms+

Further Reading