首页> 外文期刊>IEEE/ACM Transactions on Networking >Efficient randomized Web-cache replacement schemes using samples from past eviction times
【24h】

Efficient randomized Web-cache replacement schemes using samples from past eviction times

机译:使用过去逐出时间的样本进行有效的随机Web缓存替换方案

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

The problem of document replacement in Web caches has received much attention and it has been shown that the eviction rule "replace the least recently used document" performs poorly in Web caches. Instead, it has been shown that using a combination of several criteria, such as the recentness and frequency of use, the size and the cost of fetching a document, leads to a sizable improvement in hit rate and latency reduction. However, in order to implement these novel schemes, one needs to maintain complicated data structures. We propose randomized algorithms for approximating any existing Web-cache replacement scheme and thereby avoid the need for any data structures. At document-replacement times, the randomized algorithm samples N documents from the cache and replaces the least useful document from the sample, where usefulness is determined according to the criteria mentioned above. The next M>N least useful documents are retained for the succeeding iteration. When the next replacement is to be performed, the algorithm obtains N-M new samples from the cache and replaces the least useful document from the N-M new samples and the M previously retained. Using theory and simulations, we analyze the algorithm and find that it matches the performance of existing document replacement schemes for values of N and M as low as 8 and 2 respectively. Interestingly, we find that retaining a small number of samples from one iteration to the next leads to an exponential improvement in performance as compared to retaining no samples at all.
机译:Web缓存中的文档替换问题已引起了广泛关注,并且已显示“替换规则”替换规则在Web缓存中的性能较差。取而代之的是,已经表明,结合使用多个标准(例如使用的最新性和使用频率,获取文档的大小和成本)可导致命中率和等待时间的减少。但是,为了实现这些新颖的方案,需要维护复杂的数据结构。我们提出了一种随机算法来近似任何现有的Web缓存替换方案,从而避免了任何数据结构的需求。在文档替换时间,随机算法从缓存中采样N个文档,并从样本中替换最不有用的文档,其中,根据上面提到的标准来确定有用性。保留下M> N个最不有用的文档,以用于后续迭代。当要执行下一次替换时,该算法从缓存中获取N-M个新样本,并从N-M个新样本中替换最不有用的文档,并替换之前保留的M个。通过理论和仿真,我们对该算法进行了分析,发现对于N和M值分别低至8和2而言,它与现有文档替换方案的性能相匹配。有趣的是,与根本不保留任何样本相比,从一次迭代到下一次保留少量样本导致性能的指数级提高。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号