개체 타입별 분할공간을 이용한 웹 프락시 캐시의 대체 알고리즘

Web Proxy Cache Replacement Algorithms using Object Type Partition

  • 발행 : 2002.05.01

초록

웹 캐시는 클라이언트와 서버사이에 위치하여, 대리자의 역할을 하는 프락시 서버의 기능적측면의 다른 이름이다. 클라이언트와 프락시 서버사이는 주로 LAN을 통해 연결되므로 넓은 대역폭을 갖게 되지만 웹 캐시의 저장공간은 한정되어 있으므로 웹 캐시내에 존재하는 개체들은 대체 알고리즘이라는 어떤 규칙에 의해 새 개체를 위한 공간확보를 위해 삭제되게 된다. 대부분의 대체 알고리즘들은 성능평가기준인 히트율과 바이트히트율 중 단지 하나의 성능평가기준만을 만족하던지, 때때로 어느 한 기준도 만족시키지 못한다. 본 논문에서 우리는 히트율과 바이트히트율 모두에서 높은 성능을 나타내는 두 가지의 대체알고리즘을 제안한다. 첫 번째 알고리즘은 기본모델로서, 캐시를 파일타입에 따라 적절히 분할시킨다. 두 번째 알고리즘에서는 2-레벨의 캐시구조를 사용한다. 상위레벨캐시는 기본 모델에서처럼 운용되고, 하위레벨캐시는 공유공간으로서 모든 타입의 개체들을 집합적으로 수용하게 된다. 트레이스-드리븐 시뮬레이션을 사용하여 히트율과 바이트히트율을 측정함으로써 제안 알고리즘들의 성능을 평가하였다.

Web cache, which is functionally another word of proxy server, is located between client and server. Web cache has a limited storage area although it has broad bandwidth between client and proxy server, which are usually connected through LAN. Because of limited storage capacity, existing objects in web cache can be deleted for new objects by some rules called replacement algorithm. Hit rate and byte-hit rate are general metrics to evaluate replacement algorithms. Most of the replacement algorithms do satisfy only one metric, or sometimes none of them. In this paper, we propose two replacement algorithms to achieve both high hit rate and byte-hit rate with great satisfaction. In the first algorithm, the cache is appropriately partitioned according to file types as a basic model. In the second algorithm, the cache is composed of two levels; the upper level cache is managed by the basic algorithm, but the lower level is collectively used for all types of files as a shared area. To show the performance of the proposed algorithms, we evaluate hit rate and byte-hit rate of the proposed replacement algorithms using the trace driven simulation.

키워드

참고문헌

  1. M. F. Arlitt and C. L. Williamson, 'Web server workload characterization: The search for invariants,' Proc. of the ACM SIGMETRICS, pp.126-137, Philadelphia, PA, ACM, Apr. 1996
  2. M. Arlitt, L. Cherkasova, J. Dilley, R. Friedrich and T. Jin, 'Evaluating content management techniques for web proxy caches,' ACM SIGMETRICS Performance Evaluation Review, vol. 27, no. 4, pp. 3-11, March 2000 https://doi.org/10.1145/346000.346003
  3. T. Berners-Lee, R. Pielding, and H. Frystyk, Hypertext transfer protocol - HTTP/l.O, RFC 1945, May 1996
  4. S. Williams, M. Abrams, C. R. Standridge, G. Abdulla, and E.A. Fox, 'Removal policies in network caches for world wide web documents,' ACM SIGCOMM 96, pp.293-305, Aug. 1996
  5. P. Cao and S. Irani, 'Cost-aware WWW proxy caching algorithms,' Proceedings of the 1997 USENIX Symposium, pp.193-206, Dec. 1997
  6. A. Silberschartz and P. B. Galvin, Operating system concepts, The 5th edition, AddisonWesley Publishing Company, Nov. 1998