English

Dependency-Aware Online Caching

Data Structures and Algorithms 2024-01-31 v1

Abstract

We consider a variant of the online caching problem where the items exhibit dependencies among each other: an item can reside in the cache only if all its dependent items are also in the cache. The dependency relations can form any directed acyclic graph. These requirements arise e.g., in systems such as CacheFlow (SOSR 2016) that cache forwarding rules for packet classification in IP-based communication networks. First, we present an optimal randomized online caching algorithm which accounts for dependencies among the items. Our randomized algorithm is O(logk)O( \log k)-competitive, where kk is the size of the cache, meaning that our algorithm never incurs the cost of O(logk)O(\log k) times higher than even an optimal algorithm that knows the future input sequence. Second, we consider the bypassing model, where requests can be served at a fixed price without fetching the item and its dependencies into the cache -- a variant of caching with dependencies introduced by Bienkowski et al. at SPAA 2017. For this setting, we give an O(klogk)O( \sqrt{k \cdot \log k})-competitive algorithm, which significantly improves the best known competitiveness. We conduct a small case study, to find out that our algorithm incurs on average 2x lower cost.

Keywords

Cite

@article{arxiv.2401.17146,
  title  = {Dependency-Aware Online Caching},
  author = {Julien Dallot and Amirmehdi Jafari Fesharaki and Maciej Pacut and Stefan Schmid},
  journal= {arXiv preprint arXiv:2401.17146},
  year   = {2024}
}

Comments

INFOCOM 2024

R2 v1 2026-06-28T14:32:01.474Z