웹 프락시 서버를 위한 적응형 캐시 교체 정책

An Adaptive Cache Replacement Policy for Web Proxy Servers

  • 발행 : 2002.06.01

초록

월드 와이드 웹 사용의 폭발적인 증가는 네트워크 트래픽과 서버 부하의 급격한 증가를 초래 하였다. 이러한 문제를 해결하기 위해 웹 프락시 캐싱 기술은 빈번히 요청되는 웹 문서를 사용자와 인접한 위치에 설치된 프락시(proxy)에 저장한다. 캐시 성능을 결정짓는 가장 중요한 요소는 캐시 교체 정책으로서, 가까운 미래에 빈번히 요청될 문서들을 저장하기 위해 사용된다. 캐시 교체 정책이 문서의 인기도를 정확히 예측하기 위해서는 웹 프락시 워크로드의 특성을 반영하는 것이 중요하다. 시간 지역성과 Zipf 빈도 분포는 웹 프락시 워크로드에서 빈번히 관찰되는 특성으로서 문서의 인기도를 예측하기 위한 중요한 속성들이다. 본 논문은 1) LFU를 기반으로 하여 Zipf 빈도 분포를 반영하며, 2) 문서들의 시간에 따른 인기도 감소를 효율적으로 측정하여 시간 지역성을 적응적으로 반영하는 적응형 LFU(ALFU) 캐시 교체 정책을 제안한다. 트레이스 기반의 모의 실험을 통해 다른 교체 정책들과 ALFU를 비교 분석한다. 실험 결과, ALFU는 다른 교체 정책보다 우수한 성능을 보였다.

The explosive increase of World Wide Web usage has incurred significant amount of network traffic and server load. To overcome these problems, web proxy caching replicates frequently requested documents in the web proxy closer to the users. Cache utilization depends on the replacement policy which tries to store frequently requested documents in near future. Temporal locality and Zipf frequency distribution, which are commonly observed in web proxy workloads, are considered as the important properties to predict the popularity of documents. In this paper, we propose a novel cache replacement policy, called Adaptive LFU (ALFU), which incorporates 1) Zipf frequency distribution by utilizing LFU and 2) temporal locality adaptively by measuring the amount of the popularity reduction of documents as time passed efficiently. We evaluate the performance of ALFU by comparing it to other policies via trace-driven simulation. Experimental results show that ALFU outperforms other policies.

키워드

참고문헌

  1. M. Abrams, C. R. Standridge, G. Abdulla, S. Williams, and E. A. Fox. Caching proxies: limitations and potentials. In Proceedings of the 4th International WWW Conference, December 1995
  2. C. Aggarwal, J. Wolf, and P. Yu. Caching on the world wide web. IEEE Transactions on Knowledge and Data Engineering, 11(1):94-107, 1999 https://doi.org/10.1109/69.755618
  3. M. Arlitt, L. Cherkasova, J. Dilley, R. Friedrich, and T. Jin, Evaluating content management techniques for Web proxy caches. In Proceedings of the Workshop on Internet Server Performance (WISP99), may 1999
  4. M. Arlitt, R. Friedrich and T. Jin. Performance evaluation of web proxy cache replacement policies. In Proceedings of the 10th International Conference on Modelling Techniques and Tools for Computer Performance Evaluation, Palma de Mallora, Spain, September 1998
  5. P. Barford, A. Bestavros, A. Bradley, and M. E. Crovella. Changes in Web client access patterns: Characteristics and caching implications. World Wide Web (special issue on Characterization and Performance Evaluation), 1999 https://doi.org/10.1023/A:1019236319752
  6. L. Breslau, P. Cao, L. Fan, G. Phillips, and S. Shenker. Web caching and Zipf-like distributions: Evidence and implications. In Proceedings of the INFO COM '99 conference, March 1999 https://doi.org/10.1109/INFCOM.1999.749260
  7. P. Cao and S. Irani. Cost-aware WWW proxy caching algorithms. In Proceedings of the 1997 Usenix Symposium on Internet Technologies and Systems (USITS-97), Monterey, CA, December 1997
  8. S. Glassman. A caching relay for the World Wide Web. In Proceedings of the 1st International WWW Conference, Geneva, Switzerland, May 1994 https://doi.org/10.1016/0169-7552(94)90130-9
  9. S. Jin and A. Bestavros. Sources and characteristics of web temporal locality. In Proceedings of Mascots '2000: The IEEE/ACM International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems, San Fransisco, CA, 2000 https://doi.org/10.1109/MASCOT.2000.876426
  10. T. Johnson and D. Shasha. 2Q: A low overhead high performance buffer management replacement algorithm. In Proceedings of the 20th VLDB Conference, Santiago, Chile, 1994
  11. A. Mahanti, D. Eager, and C. Williamson. Temporal locality and its impact on web proxy cache performance. Performance Evaluation, 42:149-164, 2000 https://doi.org/10.1016/S0166-5316(00)00032-8
  12. J. E. Pitkow and M. M. Recker. A simple yet robust caching algorithm based on dynamic access patterns. In Proceedings of the 3rd International WWW Conference, October 1994
  13. L. Rizzo and L. Vicisano. Replacement policies for a proxy cache. IEEE/ACM Transactions on Networking, 8(2), 2000 https://doi.org/10.1109/90.842139
  14. J. Robinson and M. Devarakonda, Data cache management using frequency-based replacement. In Proceedings of the 1990 ACM SIGMETRICS Conference on the Measurement and Modeling of Computer Systems https://doi.org/10.1145/98457.98523
  15. J. Spirn. Models and Measurements. Elsevier North-Holland, 1977
  16. S. Williams, M. Abrams, C. Standridge, G. Abdulla, and E. Fox. Removal policies in network caches for world-wide web documents. In Proceedings of ACM SIGCOMM, 1996 https://doi.org/10.1145/248157.248182