General Web Cache Implementation Using NIO

NIO를 이용한 범용 웹 캐시 구현

Lee, Chul-Hui;Shin, Yong-Hyeon

  • Received : 2016.01.26
  • Accepted : 2016.02.18
  • Published : 2016.02.28


Network traffic is increased rapidly, due to mobile and social network, such as smartphones and facebook, in recent web environment. In this paper, we improved web response time of existing system using direct buffer of NIO and DMA. This solved the disadvantage of JAVA, such as CPU performance reduction due to the blocking of I/O, garbage collection of buffer. Key values circulated many data due to priority change put on a hash map operated easily and apply a priority modification algorithm. Large response data is separated and stored at a fast direct buffer and improved performance. This paper showed that the proposed method using NIO was much improved performance, in many test situations of cache hit and cache miss.


Web;Cache;Nonbloking input-output;Direct buffer


  1. Cisco Visual Networking Index. Global Mobile Data Traffic Forecast Update 2013-2018 White Paper: [Internet]. Available: cast_ qa.pdf
  2. Cisco Visual Networking Index:Global Mobile Data Traffic Forecast Update,2014-2019: [Internet]. Available:
  3. T. Y. Kuo, Y. S. Chung, and J. Y. Park, "Cache layout management for reducing network traffic," in Korea Information Science Society Conference, Jeju: Korea, pp. 249-250, Jun.2012.
  4. H. Al-Zoubi, A. Milenkovic and M. Milenkovic, "Performance evaluation of cache replacement policies for the SPEC CPU2000 benchmark suite," in Proceedings of the 42th Annual Southeast Regional Conference, New York: NY, pp 267-272, 2004.
  5. C. Y. Chang, T. Mcgregor and G. Holmes, "The LRU$^*$WWW proxy cache document replacement algorithm," in Proceedings of the Asia Pacific Web Conference, Hong Kong: China, 1999.
  6. P. R. Wilson, Uniprocessor Garbage Collection Techniques, Technical report, University of Texas, Jan 1994. Expanded version of the IWMM92 paper.
  7. P. Cheng, G. E. Blelloch, "A parallel, real-time garbage collector," in Proceedings of the ACM SIGPLAN Conference on Programming Design and Implementation, New York: NY, pp. 125-136, 2001.

Cited by

  1. The Development of Monitoring System for PC and Server State Management vol.20, pp.9, 2016,