Cache algorithm

A Cache algorithm is an algorithm used to manage a cache or group of data. When the cache is full, it decides which item should be deleted from the cache. The word hit rate describes how often a request can be served from the cache. The term latency describes for how long a cached item can be obtained. Cache alorithms are a trade-off between hit-rate and latency.

Which memory locations can be cached by which cache locations

Other things to consider:

Various algorithms also exist to maintain cache coherency. This applies only to situation where multiple independent caches are used for the same data (for example multiple database servers updating the single shared data file).

References

  1. ↑ http://www.usenix.org/events/fast03/tech/full_papers/megiddo/megiddo.pdf
  2. ↑ "Index of /Events/Usenix01/Full_papers/Zhou". Archived from the original on 2005-11-24. Retrieved 2008-12-21.