Bandit-based Run-time Adaptation of Cache Replacement Policies in Content Management Systems

Srivattsan Sridharan,Shravan Gaonkar,José A. B. Fortes

2020 Eighth International Symposium on Computing and Networking (CANDAR)(2020)

引用 0|浏览6
暂无评分
摘要
Web traffic is increasingly complex, in terms of both content accessed and geographical distribution of requests. Content providers usually employ geographically distributed web-caches to reduce latency in delivering content. A web-cache configured with a single replacement policy cannot provide optimal performance due to the inherent variability associated with the request pattern. We describe an adaptation mechanism (DETACH) that utilizes a multi-armed bandit approach to adapt the replacement policy depending on a new metric, the rank of evicted objects, which indirectly characterizes run-time request patterns. The proposed mechanism requires very minimal modifications to existing cache systems and does not maintain any history (ghost entries). We also describe the implementation of a cache system that uses the proposed mechanism to adapt the replacement policy at runtime. We consider two replacement policies, LRU and LFU, but the system is expandable to other policies. Our experiments with various datasets show that the system adapts quickly to the best performing replacement policy. We compare the performance of the system to a recently proposed approach called LeCaR, and baseline LRU and LFU policies. Of the 7 datasets used on our experiments, DETACH outperformed LeCaR in 4 of them by up to a factor of two. In the remaining 3 datasets LeCaR outperformed DETACH by up to 5%. Our proposed system consistently outperforms the baseline LRU and LFU replacement policies for all the datasets.
更多
查看译文
关键词
LFU,LRU,adaptive cache,multi-armed-bandit,content distribution
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要