An Adaptive Neural Network-Based Method for Tile Replacement in a Web Map Cache

  • Ricardo García
  • Juan Pablo de Castro
  • María Jesús Verdú
  • Elena Verdú
  • Luisa María Regueras
  • Pablo López
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6782)


Most popular web map services, such as Google Maps, serve pre-generated image tiles from a server-side cache. However, storage needs are often prohibitive, forcing administrators to use partial caches containing a subset of the total tiles. When the cache runs out of space for allocating incoming requests, a cache replacement algorithm must determine which tiles should be replaced. Cache replacement algorithms are well founded and characterized for general Web documents but spatial caches comprises a set of specific characteristics that make them suitable to further research. This paper proposes a cache replacement policy based on neural networks to take intelligent replacement decisions. Neural networks are trained using supervised learning with real data-sets from public web map servers. Hight correct classification ratios have been achieved for both training data and a completely independent validation data set, which indicates good generalization of the neural network. A benchmark of the performance of this policy against several classical cache management policies is given for discussion.


Web map service Tile cache Replacement policy Neural networks benchmark 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    de la Beaujardiere, J.: OpenGIS Web Map Server Implementation Specification, pp. 6–42. Open Geospatial Consortium Inc. (2006)Google Scholar
  2. 2.
    Open Geospatial Foundation. WMS-C wms tile caching - OSGeo wiki(2008)
  3. 3.
    Juliá, N., Masó, J., Pomakis, K.: OpenGIS Web Map Tile Service Implementation Standard, pp. 7–57. Open Geospatial Consortium Inc. (2010)Google Scholar
  4. 4.
    Podlipnig, S., Böszörmenyi, L.: A survey of web cache replacement strategies. ACM Computing Surveys (CSUR) 35(4), 374–398 (2003)CrossRefGoogle Scholar
  5. 5.
    Aggarwal, C., Wolf, J.L., Yu, P.S.: Caching on the world wide web. IEEE Transactions on Knowledge and Data Engineering 11(1), 94–107 (1999)CrossRefGoogle Scholar
  6. 6.
    Cao, P., Irani, S.: Cost-aware www proxy caching algorithms. In: Proceedings of the USENIX Symposium on Internet Technologies and Systems, pp. 18–18. USENIX Association, Berkeley, CA (1997)Google Scholar
  7. 7.
    Arlitt, M., Cherkasova, L., Dilley, J., Friedrich, R., Jin, T.: Evaluating content management techniques for web proxy caches. SIGMETRICS Perform. Eval. Rev. 27, 3–11 (March 2000)CrossRefGoogle Scholar
  8. 8.
    Bahn, H., Koh, K., Noh, H., Lyul, S.M.: Efficient replacement of nonuniform objects in web caches. Computer 35(6), 65–73 (2002)Google Scholar
  9. 9.
    Tobler, W.R.: A computer movie simulating urban growth in the Detroit region. Economic geography 46, 234–240 (1970)CrossRefGoogle Scholar
  10. 10.
    Khalid, H.: A new cache replacement scheme based on backpropagation neural networks. SIGARCH Comput. Archit. News 25, 27–33 (1997)CrossRefGoogle Scholar
  11. 11.
    J.Pomerene, T.R. Puzak, R.Rechtschaffen, F.Sparacio.: Prefetching mechanism for a high-speed buffer store. US patent(1984)Google Scholar
  12. 12.
    Khalid, H., Obaidat, M.S.: Kora-2: a new cache replacement policy and its performance. In: The 6th IEEE International Conference on Electronics, Circuits and Systems,Proceedings of(ICECS1999) (1999)Google Scholar
  13. 13.
    Khalid, H.: Performance of the KORA-2 cache replacement scheme. ACM SIGARCH Computer Architecture News 25(4), 17–21 (1997)CrossRefGoogle Scholar
  14. 14.
    Obaidat, M.S., Khalid, H.: Estimating neural networks-based algorithm for adaptive cache replacement. IEEE Transactions on Systems, Man, and Cybernetics, Part B: Cybernetics, 28(4), 602–611 (1998)CrossRefGoogle Scholar
  15. 15.
    Khalid, H., Obaidat, M.S.: Application of neural networks to cache replacement. Neural Computing & Applications 8(3), 246–256 (1999)CrossRefGoogle Scholar
  16. 16.
    Venketesh, P., Venkatesan, R.: A Survey on Applications of Neural Networks and Evolutionary Techniques in Web Caching. IETE Technical Review 26(3), 171–180 (2009)CrossRefGoogle Scholar
  17. 17.
    ElAarag, H., Romano, S.: Training of nnpcr-2: An improved neural network proxy cache replacement strategy. In: International Symposium on Performance Evaluation of Computer Telecommunication Systems (SPECTS 2009), vol. 41, pp. 260–267 (2009)Google Scholar
  18. 18.
    Romano, S., ElAarag, H.: A neural network proxy cache replacement strategy and its implementation in the Squid proxy server. In: Neural Computing & Applications, pp. 1–20.Google Scholar
  19. 19.
    ElAarag, H., Cobb, J.: A Framework for using neural networks for web proxy cache replacement. Simulation Series 38(2), 389 (2006)Google Scholar
  20. 20.
    ElAarag, H., Romano, S.: Improvement of the neural network proxy cache replacement strategy. In: Proceedings of the Spring Simulation Multiconference, pp. 1–8. Society for Computer Simulation International (2009)Google Scholar
  21. 21.
    Tian, W., Choi, B., Phoha, V.: An Adaptive Web Cache Access Predictor Using Neural Network. Developments in Applied Artificial Intelligence, 113–117 (2002)Google Scholar
  22. 22.
    Cobb, J., ElAarag, H.: Web proxy cache replacement scheme based on back-propagation neural network. Journal of Systems and Software 81(9), 1539–1558 (2008)CrossRefGoogle Scholar
  23. 23.
    El Khayari, R.A., Obaidat, M.S., Celik, S.: An Adaptive Neural Network-Based Method for WWW Proxy Caches. IAENG International Journal of Computer Science 36(1), 8–16 (2009)Google Scholar
  24. 24.
    MetaCarta Labs. Tilecache(2011),
  25. 25.
    Quinn, S., Gahegan, M.: A predictive model for frequently viewed tiles in a web map. T. GIS 14(2), 193–216 (2010)CrossRefGoogle Scholar
  26. 26.
    Tom Mitchell, M. (ed.): Machine Learning. McGraw-Hill, New York (1997)zbMATHGoogle Scholar
  27. 27.
    Williams, S., Abrams, M., Standridge, C.R., Abdulla, G., Fox, E.A.: Removal policies in network caches for World-Wide Web documents. Computer Communication Review 26(4), 293–305 (1996)CrossRefGoogle Scholar
  28. 28.
    Belady, L.A.: A study of replacement algorithms for a virtual-storage computer. IBM Systems Journal (1966)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  • Ricardo García
    • 1
  • Juan Pablo de Castro
    • 1
  • María Jesús Verdú
    • 1
  • Elena Verdú
    • 1
  • Luisa María Regueras
    • 1
  • Pablo López
    • 1
  1. 1.Higher Technical School of Telecommunications EngineeringUniversity of ValladolidValladolidSpain

Personalised recommendations