Skip to main content

Reducing Latency and Network Load Using Location-Aware Memcache Architectures

  • Conference paper
Web Information Systems and Technologies (WEBIST 2012)

Part of the book series: Lecture Notes in Business Information Processing ((LNBIP,volume 140))

Included in the following conference series:

  • 2414 Accesses

Abstract

This work explores how data-locality in a web datacenter can impact the performance of the Memcache caching system. Memcache is a distributed key/value datastore used to cache frequently accessed data such as database requests, HTML page snippets, or any text string. Any client can store, manipulate, or retrieve data quickly by locating the data in the Memcache system using a hashing strategy based on the key. To speed Memcache, we explore alternate storage strategies where data is stored closer to the writer. Two novel Memcache architectures are proposed, based on multi-cpu caching strategies. A model is developed to predict Memcache performance given a web application’s usage profile, network variables, and a memcache architecture. Five architecture variants are analyzed and further evaluated in a miniature web farm using the MediaWiki open-source web application. Our results verified our model and we observed a 66% reduction in core network traffic and a 23% reduction in Memcache response time under certain network conditions.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. RuggedCom: Latency on a switched ethernet network (2011)

    Google Scholar 

  2. Newman, S.: Three latency anomalies (2011)

    Google Scholar 

  3. Cloudkick: Visual evidence of amazon ec2 network issues (2011)

    Google Scholar 

  4. Voldemort, P.: Project voldemort (2011)

    Google Scholar 

  5. KLab: repcached - add data replication feature to memcached (2011)

    Google Scholar 

  6. Hennessy, J.L., Patterson, D.A.: Computer Architecture: A Quantitative Approach, 4th edn. Morgan Kaufmann Publishers Inc., San Francisco (2006)

    MATH  Google Scholar 

  7. Li, K., Hudak, P.: Memory coherence in shared virtual memory systems. ACM Trans. Comput. Syst. 7, 321–359 (1989)

    Article  Google Scholar 

  8. Tanenbaum, A.S., Steen, M.V.: Distributed Systems: Principles and Paradigms, 1st edn. Prentice Hall PTR, Upper Saddle River (2001)

    Google Scholar 

  9. Tanenbaum, A.S., Kaashoek, M.F., Bal, H.E.: Using broadcasting to implement distributed shared memory efficiently. In: Readings in Distributed Computing Systems, pp. 387–408. IEEE Computer Society Press (1994)

    Google Scholar 

  10. mediawiki: Mediawiki (2011)

    Google Scholar 

  11. Saab, P.: Scaling memcached at facebook (2008)

    Google Scholar 

  12. Thusoo, A., Shao, Z., Anthony, S., Borthakur, D., Jain, N., Sen Sarma, J., Murthy, R., Liu, H.: Data warehousing and analytics infrastructure at facebook. In: Proceedings of the 2010 ACM SIGMOD International Conference on Management of data, SIGMOD 2010, pp. 1013–1020. ACM, New York (2010)

    Chapter  Google Scholar 

  13. Borthakur, D.: Hdfs architecture guide (2011)

    Google Scholar 

  14. Bailey, N.: Frontpage - cassandra wiki (2011)

    Google Scholar 

  15. rsumbaly: Voldemort topology awareness capability (2011)

    Google Scholar 

  16. Sampathkumar, N., Krishnaprasad, M., Nori, A.: Introduction to caching with windows server appfabric (2009)

    Google Scholar 

  17. Terracotta: Ehcache documentation cache-topologies (2011)

    Google Scholar 

  18. Aldinucci, M., Torquati, M.: Accelerating Apache Farms Through Ad-HOC Distributed Scalable Object Repository. In: Danelutto, M., Vanneschi, M., Laforenza, D. (eds.) Euro-Par 2004. LNCS, vol. 3149, pp. 596–605. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Talaga, P.G., Chapin, S.J. (2013). Reducing Latency and Network Load Using Location-Aware Memcache Architectures. In: Cordeiro, J., Krempels, KH. (eds) Web Information Systems and Technologies. WEBIST 2012. Lecture Notes in Business Information Processing, vol 140. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-36608-6_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-36608-6_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-36607-9

  • Online ISBN: 978-3-642-36608-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics