Skip to main content

Caching with time windows

Publication ,  Conference
Gupta, A; Kumar, A; Panigrahi, D
Published in: Proceedings of the Annual ACM Symposium on Theory of Computing
June 8, 2020

We consider the (weighted) Paging with Time Windows problem, which is identical to the classical weighted paging problem but where each page request only needs to be served by 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. From a theoretical perspective, this generalizes the caching problem to allow delayed service, a line of work that has recently gained traction in online algorithms (e.g., Emek et al. STOC '16, Azar et al. STOC '17, Azar and Touitou FOCS '19, etc.). Our main result is an O(log k log n)-competitive algorithm for the Paging with Time Windows problem on n pages with a cache of size k. This significantly improves on the previous best bound of O(k) (Azar et al. (STOC '17). We also consider the offline version of this problem, for which we give an O(1) approximation algorithm and prove APX-hardness. These are the first results for the offline problem; even NP-hardness was not known before our work. At the heart of our algorithms is a novel hitting-set LP relaxation of this 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 algorithm with delays/deadlines.

Duke Scholars

Published In

Proceedings of the Annual ACM Symposium on Theory of Computing

DOI

ISSN

0737-8017

ISBN

9781450369794

Publication Date

June 8, 2020

Start / End Page

1125 / 1138
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Gupta, A., Kumar, A., & Panigrahi, D. (2020). Caching with time windows. In Proceedings of the Annual ACM Symposium on Theory of Computing (pp. 1125–1138). https://doi.org/10.1145/3357713.3384277
Gupta, A., A. Kumar, and D. Panigrahi. “Caching with time windows.” In Proceedings of the Annual ACM Symposium on Theory of Computing, 1125–38, 2020. https://doi.org/10.1145/3357713.3384277.
Gupta A, Kumar A, Panigrahi D. Caching with time windows. In: Proceedings of the Annual ACM Symposium on Theory of Computing. 2020. p. 1125–38.
Gupta, A., et al. “Caching with time windows.” Proceedings of the Annual ACM Symposium on Theory of Computing, 2020, pp. 1125–38. Scopus, doi:10.1145/3357713.3384277.
Gupta A, Kumar A, Panigrahi D. Caching with time windows. Proceedings of the Annual ACM Symposium on Theory of Computing. 2020. p. 1125–1138.

Published In

Proceedings of the Annual ACM Symposium on Theory of Computing

DOI

ISSN

0737-8017

ISBN

9781450369794

Publication Date

June 8, 2020

Start / End Page

1125 / 1138