Skip to content

Cache performance hierarchy

The cache performance hierarchy describes the significant speed disparities between different types of computer memory and data channels.^[600-developer-principle-cache.md]

Performance Ratios

A key aspect of this hierarchy involves the relative latency of operations:

  • Memory vs. Network: Accessing data over a network is approximately 100 times slower than accessing it from system memory (RAM).^[600-developer-principle-cache.md]
  • Disk Operation: The time required to perform a single hard disk seek (positioning the read head) is roughly half the time required to read 1 MB of data from that disk^[600-developer-principle-cache.md].

Sources

^[600-developer-principle-cache.md]