Skip to main content

Freshness-Aware Caching in a Cluster of J2EE Application Servers

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 4831))

Abstract

Application servers rely on caching and clustering to achieve high performance and scalability. While queries benefit from middle-tier caching, updates introduce a distributed cache consistency problem. The standard approaches to this problem, cache invalidation and cache replication, either do not guarantee full cache consistency or impose a performance penalty.

This paper proposes a novel approach: Freshness-Aware Caching (FAC). FAC tracks the freshness of cached data and allows clients to explicitly trade freshness-of-data for response times. We have implemented FAC in an open-source application server and compare its performance to cache invalidation and cache replication. The evaluation shows that both cache invalidation and FAC provide better update scalability than cache replication. We also show that FAC can provide a significant better read performance than cache invalidation in the case of frequent updates.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. BEA: BEA WebLogic Server 10.0 Documentation (2007), http://edocs.bea.com

  2. Stark, S.: JBoss Administration and Development. JBoss Group, 3rd edn. (2003)

    Google Scholar 

  3. Wu, H., Kemme, B., Maverick, V.: Eager replication for stateful J2EE servers. In: Proceedings of DOA2004, Cyprus, pp. 1376–1394 (October 25-29, 2004)

    Google Scholar 

  4. JBoss Cache: A replicated transactional cache, http://labs.jboss.com/jbosscache/

  5. SwarmCache: Cluster-aware caching for java, http://swarmcache.sourceforge.net

  6. ehcache: ehcache project (2007), http://ehcache.sourceforge.net

  7. Progress: DataXtend CE (2007), http://www.progress.com/dataxtend/

  8. Hsu, C.C.: Distributed cache replication framework for middle-tier data caching. Master’s thesis, University of Sydney, School of IT, Australia (2004)

    Google Scholar 

  9. Luo, Q., Krishnamurthy, S., Mohan, C., Pirahesh, H., Woo, H., Lindsay, B., Naughton, J.: Middle-tier database caching for e-business. In: SIGMOD (2002)

    Google Scholar 

  10. Altinel, M., Bornhövd, C., Krishnamurthy, S., Mohan, C., Pirahesh, H., Reinwald,: Cache tables: Paving the way for an adaptive database cache. In: VLDB (2003)

    Google Scholar 

  11. Larson, P.Å., Goldstein, J., Zhou, J.: MTCache: Transparent mid-tier database caching in SQL Server. In: Proceedings of ICDE2004, pp. 177–189. Boston, USA (2004)

    Google Scholar 

  12. Amza, C., Soundararajan, G., Cecchet, E.: Transparent caching with strong consistency in dynamic content web sites. In: Proceedings of ICS 2005, pp. 264–273 (2005)

    Google Scholar 

  13. Guo, H., Larson, P.Å., Ramakrishnan, R., Goldstein, J.: Relaxed currency and consistency: How to say ’good enough’ in SQL. In: SIGMOD 2004, pp. 815–826 (2004)

    Google Scholar 

  14. TimesTen Team: Mid-tier caching: The TimesTen approach. In: Proceedings of ACM SIGMOD 2002, pp. 588–593 (June 3-6, 2002)

    Google Scholar 

  15. Oracle: Oracle 9i application server: Database cache. White paper (2001)

    Google Scholar 

  16. Röhm, U., Böhm, K., Schek, H.J., Schuldt, H.: FAS – a freshness-sensitive coordination middleware for a cluster of OLAP components. In: VLDB, pp. 754–765 (2002)

    Google Scholar 

  17. Bernstein, P., Fekete, A., Guo, H., Ramakrishnan, R., Tamma, P.: Relaxed-currency serializability for middle-tier caching & replication. In: SIGMOD (2006)

    Google Scholar 

  18. JBoss Group: JBoss (2007), http://www.jboss.org

Download references

Author information

Authors and Affiliations

Authors

Editor information

Boualem Benatallah Fabio Casati Dimitrios Georgakopoulos Claudio Bartolini Wasim Sadiq Claude Godart

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Röhm, U., Schmidt, S. (2007). Freshness-Aware Caching in a Cluster of J2EE Application Servers. In: Benatallah, B., Casati, F., Georgakopoulos, D., Bartolini, C., Sadiq, W., Godart, C. (eds) Web Information Systems Engineering – WISE 2007. WISE 2007. Lecture Notes in Computer Science, vol 4831. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-76993-4_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-76993-4_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-76992-7

  • Online ISBN: 978-3-540-76993-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics