arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.16535cs.DS
收藏

具有延迟命中的缓存的延迟保证

Latency Guarantees for Caching with Delayed Hits

Keerthana Gurushankar, Noah G. Singer, Bernardo Subercaseaux

AI总结:

针对延迟命中缓存模型,首次证明了LRU等标记算法具有O(Zk)竞争比的紧密延迟保证。

摘要:

在经典的缓存问题中,当请求的页面不在缓存中(即“未命中”)时,假定它会在下一个请求到达“之前”从后备存储传输到缓存中。然而,在许多现实应用(如内容 delivery networks)中,这一假设是不切实际的。由 Atre, Sherry, Wang 和 Berger 提出的缓存“延迟命中”模型考虑了缓存未命中请求与来自后备存储的相应到达之间的延迟。该理论模型有两个参数:表示应用中检索延迟与请求间延迟比率的“延迟”$Z$,以及经典缓存中的“缓存大小”$k$。经典缓存对应于 $Z=1$,而较大的 $Z$ 值则模拟了检索未命中请求成本高昂的应用。尽管延迟命中模型具有实际相关性,但其理论基础仍知之甚少。我们提出了优化延迟命中缓存的第一个紧密理论保证:“最近最少使用”算法,一种在实践中广泛使用的自然、确定性在线算法,是 $O(Zk)$-竞争的,这意味着它产生的延迟至多是(离线)最优调度的 $O(Zk)$ 倍。我们的结果扩展到任何所谓的“标记”算法。

英文摘要:

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" $Z$, representing the ratio between the retrieval delay and the inter-request delay in an application, and the "cache size" $k$, as in classical caching. Classical caching corresponds to $Z=1$, whereas larger values of $Z$ 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)$-competitive, meaning it incurs at most $O(Zk)$ times more latency than the (offline) optimal schedule. Our result extends to any so-called "marking" algorithm.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑