CACHING WITH TIME WINDOWS AND DELAYS

被引:0
|
作者
Gupta, Anupam [1 ]
Kumar, Amit [2 ]
Panigrahi, Debmalya [3 ]
机构
[1] Carnegie Mellon Univ, Comp Sci Dept, Pittsburgh, PA 15213 USA
[2] IIT Delhi, Dept Comp Sci & Engn, New Delhi, India
[3] Duke Univ, Dept Comp Sci, Durham, NC 27708 USA
关键词
online algorithms; caching; approximation algorithms;
D O I
10.1137/20M1346286
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider two generalizations of the classical weighted paging problem that incorporate the notion of delayed service of page requests. The first is the (weighted) paging with time windows (PageTW) problem, which is like the classical weighted paging problem except that each page request only needs to be served before a given deadline. This problem arises in many practical applications of online caching, such as the "deadline " I/O scheduler in the Linux kernel and video-on-demand streaming. The second, and more general, problem is the (weighted) paging with delay (PageD) problem, where the delay in serving a page request results in a penalty being added to the objective. This problem generalizes the caching problem to allow delayed service, a line of work that has recently gained traction in online algorithms (e.g., [Y. Emek, S. Kutten, and R. Wattenhofer, Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, 2016, pp. 333--344; Y. Azar et al., Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, 2017, pp. 551-563; Y. Azar and N. Touitou, Proceedings of the 60th IEEE Annual Symposium on Foundations of Computer Science, 2019, pp. 60-71]). We give O(log k log n)-competitive algorithms for both the PageTW and PageD problems on n pages with a cache of size k. This significantly improves on the previous best bounds of O(k) for both problems [Y. Azar et al., Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, 2017, pp. 551-563]. We also consider the offline PageTW and PageD problems, for which we give O(1)-approximation algorithms and prove APX-hardness. These are the first results for the offline problems; even NP-hardness was not known before our work. At the heart of our algorithms is a novel "hitting-set " LP relaxation of the PageTW problem that overcomes the omega(k) integrality gap of the natural LP for the problem. To the best of our knowledge, this is the first example of an LP-based algorithm for an online problem with delays/deadlines.
引用
收藏
页码:975 / 1017
页数:43
相关论文
共 50 条
  • [1] Caching with Time Windows
    Gupta, Anupam
    Kumar, Amit
    Panigrahi, Debmalya
    PROCEEDINGS OF THE 52ND ANNUAL ACM SIGACT SYMPOSIUM ON THEORY OF COMPUTING (STOC '20), 2020, : 1125 - 1138
  • [2] List Update with Delays or Time Windows
    Azar, Yossi
    Lewkowicz, Shahar
    Vainstein, Danny
    Leibniz International Proceedings in Informatics, LIPIcs, 297
  • [3] Time-to-Live Caching With Network Delays: Exact Analysis and Computable Approximations
    Elsayed, Karim
    Rizk, Amr
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2023, 31 (03) : 1087 - 1100
  • [4] Proxy caching that estimates page load delays
    Wooster, RP
    Abrams, M
    COMPUTER NETWORKS AND ISDN SYSTEMS, 1997, 29 (8-13): : 977 - 986
  • [5] WINDOWS IN TIME
    Corfield, Richard
    CHEMISTRY & INDUSTRY, 2014, 78 (12) : 36 - 39
  • [6] TIME DELAYS
    HARWOOD, HD
    WIRELESS WORLD, 1970, 76 (1417): : 317 - &
  • [7] Bayesian spatiotemporal modeling with sliding windows to correct reporting delays for real-time dengue surveillance in Thailand
    Chawarat Rotejanaprasert
    Nattwut Ekapirat
    Darin Areechokchai
    Richard J. Maude
    International Journal of Health Geographics, 19
  • [8] Bayesian spatiotemporal modeling with sliding windows to correct reporting delays for real-time dengue surveillance in Thailand
    Rotejanaprasert, Chawarat
    Ekapirat, Nattwut
    Areechokchai, Darin
    Maude, Richard J.
    INTERNATIONAL JOURNAL OF HEALTH GEOGRAPHICS, 2020, 19 (01)
  • [9] Handling time and the evolution of caching behavior
    Jorge, Maria Luisa S. P.
    Brown, Joel S.
    van der Merwe, Marius
    BEHAVIORAL ECOLOGY, 2012, 23 (02) : 410 - 417
  • [10] Effect of Web Caching on Load Time
    Tang, Emma
    Oh, Tae
    Choi, Young B.
    Subramaniam, Swapna Kalpagam
    INTERNATIONAL JOURNAL OF EMERGING TECHNOLOGIES IN LEARNING, 2013, 8 (06): : 21 - 26