English

Latency Guarantees for Caching with Delayed Hits

Data Structures and Algorithms 2025-01-29 v1

Abstract

In the classical caching problem, when a requested page is not present in the cache (i.e., a "miss"), it is assumed to travel from the backing store into the cache "before" the next request arrives. However, in many real-life applications, such as content delivery networks, this assumption is unrealistic. The "delayed-hits" model for caching, introduced by Atre, Sherry, Wang, and Berger, accounts for the latency between a missed cache request and the corresponding arrival from the backing store. This theoretical model has two parameters: the "delay" ZZ, representing the ratio between the retrieval delay and the inter-request delay in an application, and the "cache size" kk, as in classical caching. Classical caching corresponds to Z=1Z=1, whereas larger values of ZZ model applications where retrieving missed requests is expensive. Despite the practical relevance of the delayed-hits model, its theoretical underpinnings are still poorly understood. We present the first tight theoretical guarantee for optimizing delayed-hits caching: The "Least Recently Used" algorithm, a natural, deterministic, online algorithm widely used in practice, is O(Zk)O(Zk)-competitive, meaning it incurs at most O(Zk)O(Zk) times more latency than the (offline) optimal schedule. Our result extends to any so-called "marking" algorithm.

Keywords

Cite

@article{arxiv.2501.16535,
  title  = {Latency Guarantees for Caching with Delayed Hits},
  author = {Keerthana Gurushankar and Noah G. Singer and Bernardo Subercaseaux},
  journal= {arXiv preprint arXiv:2501.16535},
  year   = {2025}
}

Comments

Accepted at INFOCOM2025

R2 v1 2026-06-28T21:20:52.821Z