Caching with Delayed Hits

被引:26
作者
Atre, Nirav [1 ]
Sherry, Justine [1 ]
Wang, Weina [1 ]
Berger, Daniel S. [2 ]
机构
[1] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
[2] Microsoft Res, Redmond, WA USA
来源
SIGCOMM '20: PROCEEDINGS OF THE 2020 ANNUAL CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION ON THE APPLICATIONS, TECHNOLOGIES, ARCHITECTURES, AND PROTOCOLS FOR COMPUTER COMMUNICATION | 2020年
基金
美国国家科学基金会;
关键词
Caching; Delayed hits; Belatedly; REPLACEMENT ALGORITHMS; PERFORMANCE; DESIGN;
D O I
10.1145/3387514.3405883
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Caches are at the heart of latency-sensitive systems. In this paper, we identify a growing challenge for the design of latency-minimizing caches called delayed hits. Delayed hits occur at high throughput, when multiple requests to the same object queue up before an outstanding cache miss is resolved. This effect increases latencies beyond the predictions of traditional caching models and simulations; in fact, caching algorithms are designed as if delayed hits simply didn't exist. We show that traditional caching strategies - even so called 'optimal' algorithms - can fail to minimize latency in the presence of delayed hits. We design a new, latency-optimal offline caching algorithm called belatedly which reduces average latencies by up to 45% compared to the traditional, hit-rate optimal Belady's algorithm. Using belatedly as our guide, we show that incorporating an object's 'aggregate delay' into online caching heuristics can improve latencies for practical caching systems by up to 40%. We implement a prototype, Minimum-AggregateDelay (mad), within a CDN caching node. Using a CDN production trace and backends deployed in different geographic locations, we show that mad can reduce latencies by 12-18% depending on the backend RTTs.
引用
收藏
页码:495 / 513
页数:19
相关论文
共 66 条
  • [1] Aasaraai K., 2010, Proceedings 2010 International Conference on Reconfigurable Computing and FPGAs (ReConFig 2010), P19, DOI 10.1109/ReConFig.2010.61
  • [2] Albers S, 1999, PROCEEDINGS OF THE TENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P31
  • [3] Anggoro Wisnu, 2015, BOOST ASIO C NETWORK
  • [4] [Anonymous], 1999, ACM SIGCOMM COMP COM
  • [5] Beckmann N., 2018, P NSDI, P1
  • [6] Beckmann N, 2020, Algor Prin Comp Sys, P1
  • [7] A STUDY OF REPLACEMENT ALGORITHMS FOR A VIRTUAL-STORAGE COMPUTER
    BELADY, LA
    [J]. IBM SYSTEMS JOURNAL, 1966, 5 (02) : 78 - &
  • [8] Belayneh S., 1996, Computer Architecture News, V24, P18, DOI 10.1145/381718.381727
  • [9] Towards Lightweight and Robust Machine Learning for CDN Caching
    Berger, Daniel S.
    [J]. HOTNETS-XVII: PROCEEDINGS OF THE 2018 ACM WORKSHOP ON HOT TOPICS IN NETWORKS, 2018, : 134 - 140
  • [10] Berger DS, 2018, PROCEEDINGS OF THE 13TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P195