arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2401.17146cs.DS
收藏

依赖感知的在线缓存

Dependency-Aware Online Caching

Julien Dallot, Amirmehdi Jafari Fesharaki, Maciej Pacut, Stefan Schmid

AI总结:

该研究针对带依赖关系的在线缓存问题,提出了O(log k)竞争比的最优随机算法,还在旁路模型下提出O(√(k·log k))竞争比的算法,显著提升了性能,案例研究显示成本平均降低2倍。

摘要:

我们研究了在线缓存问题的一个变体,其中缓存项之间存在依赖关系:一个项只有在其所有依赖项也都在缓存中时,才能驻留在缓存中。依赖关系可以构成任意有向无环图。这类需求出现在例如CacheFlow(SOSR 2016)这类系统中,该系统在基于IP的通信网络中缓存用于数据包分类的转发规则。首先,我们提出了一种考虑项之间依赖关系的最优随机在线缓存算法。我们的随机算法具有$O( \log k)$的竞争比,其中$k$是缓存大小,这意味着我们的算法产生的成本永远不会比知晓未来输入序列的最优算法高出$O(\log k)$倍。其次,我们研究了旁路模型,在该模型中,可以以固定价格服务请求,而无需将该项及其依赖项提取到缓存中——这是Bienkowski等人在SPAA 2017上提出的带依赖缓存的一个变体。针对该场景,我们给出了一种$O( \sqrt{k \cdot \log k})$竞争比的算法,显著提升了已知的最优竞争比。我们开展了一项小型案例研究,发现我们的算法平均产生的成本降低了2倍。

英文摘要:

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( \log k)$-competitive, where $k$ is the size of the cache, meaning that our algorithm never incurs the cost of $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( \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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑