Cache

About

Diagram of a CPU memory cache operation

In computing , a cache is hardware or software component that stores data so that future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation or a copy of data stored elsewhere1.

To be cost-effective, caches must be relatively small.

Cache hit

A cache hit occurs when the request data can be found in a cache. Cache hits are served by reading data from the cache, which is faster than recomputing a result or reading from a slower data store; thus, the more requests that can be served from the cache, teh faster the system performs.

Cache miss

A cache miss occurs when it cannot be found in a cache.

Anki

References


  1. Wikipedia. “cache”. Available at: https://en.wikipedia.org/wiki/Cache_(computing) . (Accessed: [2025-05-07 Wed 21:48]). ↩︎

Random Posts