Caching with Time Windows and Delays

06/17/2020
by   Anupam Gupta, et al.
0

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 assessed 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., Emek et al. STOC '16, Azar et al. STOC '17, Azar and Touitou FOCS '19). We give O(log klog 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 (Azar et al. STOC '17). 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 Ω(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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/17/2021

A Hitting Set Relaxation for k-Server and an Extension to Time-Windows

We study the k-server problem with time-windows. In this problem, each r...
research
02/12/2021

Improved LP-based Approximation Algorithms for Facility Location with Hard Capacities

We present LP-based approximation algorithms for the capacitated facilit...
research
04/15/2019

General Framework for Metric Optimization Problems with Delay or with Deadlines

In this paper, we present a framework used to construct and analyze algo...
research
10/13/2022

Online matching with delays and stochastic arrival times

This paper presents a new research direction for the Min-cost Perfect Ma...
research
11/18/2020

Scale-Free Allocation, Amortized Convexity, and Myopic Weighted Paging

Inspired by Belady's optimal algorithm for unweighted paging, we conside...
research
12/13/2020

Uniform Capacitated Facility Location Problems with Penalties/Outliers

In this paper, we present a framework to design approximation algorithms...
research
04/13/2023

List Update with Delays or Time Windows

We consider the problem of List Update, one of the most fundamental prob...

Please sign up or login with your details

Forgot password? Click here to reset