Neural Computing and Applications

, Volume 20, Issue 1, pp 59–78

A neural network proxy cache replacement strategy and its implementation in the Squid proxy server

Original Article

DOI: 10.1007/s00521-010-0442-0

Cite this article as:
Romano, S. & ElAarag, H. Neural Comput & Applic (2011) 20: 59. doi:10.1007/s00521-010-0442-0


As the Internet has become a more central aspect for information technology, so have concerns with supplying enough bandwidth and serving web requests to end users in an appropriate time frame. Web caching was introduced in the 1990s to help decrease network traffic, lessen user perceived lag, and reduce loads on origin servers by storing copies of web objects on servers closer to end users as opposed to forwarding all requests to the origin servers. Since web caches have limited space, web caches must effectively decide which objects are worth caching or replacing for other objects. This problem is known as cache replacement. We used neural networks to solve this problem and proposed the Neural Network Proxy Cache Replacement (NNPCR) method. The goal of this research is to implement NNPCR in a real environment like Squid proxy server. In order to do so, we propose an improved strategy of NNPCR referred to as NNPCR-2. We show how the improved model can be trained with up to twelve times more data and gain a 5–10% increase in Correct Classification Ratio (CCR) than NNPCR. We implemented NNPCR-2 in Squid proxy server and compared it with four other cache replacement strategies. In this paper, we use 84 times more data than NNPCR was tested against and present exhaustive test results for NNPCR-2 with different trace files and neural network structures. Our results demonstrate that NNPCR-2 made important, balanced decisions in relation to the hit rate and byte hit rate; the two performance metrics most commonly used to measure the performance of web proxy caches.


Web caching Proxy server Squid Neural network NNPCR Cache replacement strategies 

Copyright information

© Springer-Verlag London Limited 2010

Authors and Affiliations

  1. 1.Department of Mathematics and Computer ScienceStetson UniversityDelandUSA

Personalised recommendations