Nothing Special   »   [go: up one dir, main page]

Skip to main content

Method-Based Caching in Multi-tiered Server Applications

  • Conference paper
On The Move to Meaningful Internet Systems 2003: CoopIS, DOA, and ODBASE (OTM 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2888))

  • 3217 Accesses

Abstract

In recent years, application server technology has become very popular for building complex but mission-critical systems such as Web-based E-Commerce applications. However, the resulting solutions tend to suffer from serious performance and scalability bottlenecks, because of their distributed nature and their various software layers. This paper deals with the problem by presenting an approach about transparently caching results of a service interface’s read-only methods on the client side. Cache consistency is provided by a descriptive cache invalidation model which may be specified by an application programmer. As the cache layer is transparent to the server as well as to the client code, it can be integrated with relatively low effort even in systems that have already been implemented.

Experimental results show that the approach is very effective in improving a server’s response times and its transactional throughput. Roughly speaking, the overhead for cache maintenance is small when compared to the cost for method invocations on the server side. The cache’s performance improvements are dominated by the fraction of read method invocations and the cache hit rate. Our experiments are based on a realistic four-tier E-commerce Web site scenario and site user behaviour is emulated in an authentic way. By inserting our cache, the maximum user request throughput of the web application could be more than doubled while its response time (such as perceived by a web client) was kept at a very low level.

Moreover, the cache can be smoothly integrated with traditional caching strategies acting on other system tiers (e.g. caching of dynamic Web pages on a Web server). The presented approach as well as the related implementation are not restricted to application server scenarios but may be applied to any kind of interface-based software layers.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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.

Similar content being viewed by others

References

  1. Anton, J., Jacobs, L., Liu, Y., Parker, J., Zeng, Z., Zhong, T.: Web caching for database applications with oracle Web cache. In: Proceedings of the ACM SIGMOD Conference, Madison, Wisconsin, USA, June 2002. ACM Press, New York (2002)

    Google Scholar 

  2. Apache Group. The Torque framework of the Apache DB project, http://db.apache.org/torque

  3. Candan, K.S., Li, W.-S., Luo, Q., Hsiung, W.-P., Agrawal, D.: Enabling dynamic content caching for database-driven web sites. In: Proceedings of the ACM SIGMOD Conference, Santa Barbara, California, USA, May 2001, ACM Press, New York (2001)

    Google Scholar 

  4. Cecchet, E., Chanda, A., Elnikety, S., Marguerite, J., Zwaenepoel, W.: A comparison of software architecturs for E-business applications. Technical Report TR02- 389, Rice University (2001)

    Google Scholar 

  5. Cecchet, E., Marguerite, J., Zwaenepoel, W.: Performance and scalability of EJB applications. In: Proceedings of the OOPSLA Conference, Seattle,Washington, USA, November 2002, ACM Press, New York (2002)

    Google Scholar 

  6. Datta, A., Dutta, K., Thomas, H., VanderMeer, D.: A comparative study of alternative middle tier caching solutions to support dynamic Web content acceleration. In: Proceedings of the 27th VLDB Conference, Rome, Italy, August 2001. Morgan Kaufmann, San Francisco (2001)

    Google Scholar 

  7. Degenaro, L., Iyengar, A., Lipkind, I., Rouvellou, I.: A middleware system which intelligently caches query results. In: Coulson, G., Sventek, J. (eds.) Middleware 2000. LNCS, vol. 1795, pp. 24–44. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  8. ESI – edge side includes (2002), http://www.esi.org

  9. Excelon. Javlin – the EJB data cache manager (2002), http://www.exln.com/products/javlin

  10. Kemper, A., Kilger, C., Moerkotte, G.: Function materialization in object bases. In: Proceedings of the ACM SIGMOD Conference, Denver, Colorado, USA, May 1991. ACM Press, New York (1991)

    Google Scholar 

  11. Kounev, S., Buchmann, A.: Improving data access of J2EE applications by exploiting asynchronous messaging and caching services. In: Proceedings of the 28th VLDB Conference, Hong Kong, China, August 2002, Morgan Kaufmann, San Francisco (2002)

    Google Scholar 

  12. Li, W.-S., Hsiung, W.-P., Kalshnikov, D.V., Sion, R., Po, O., Agrawal, D., Candan, K.S.: Issues and evaluations of caching solutions for web application acceleration. In: Proceedings of the 28th VLDB Conference, Hong Kong, China, August 2002, Morgan Kaufmann, San Francisco (2002)

    Google Scholar 

  13. Luo, Q., Krishnamurthy, S., Mohan, C., Pirahesh, H., Woo, H., Lindsay, B.G., Naughton, J.F.: Middle tier database caching for E-business. In: Proceedings of the ACM SIGMOD Conference, Madison, Wisconsin, USA, June 2002. ACM Press, New York (2002)

    Google Scholar 

  14. Luo, Q., Naughton, J.F.: Form based proxy caching for database-backed Web sites. In: Proceedings of the 27th VLDB Conference, Rome, Italy, August 2001, Morgan Kaufmann, San Francisco (2001)

    Google Scholar 

  15. Marinescu, F.: EJB Design Patterns. Wiley, USA (2002)

    Google Scholar 

  16. Mohan, C.: Chaching technologies for Web applications, Tutorial at VLDB Conference, Rome, Italy (2001), http://www.almaden.ibm.com/u/mohan/Caching_VLDB2001.pdf

  17. EJB performance analysis (2000), http://objectbridge.sourceforge.net/performance/ejb-performance-analysis.html

  18. Persistence Software. Dynamai – a technical white paper (2001), http://www.persistence.com/products

  19. Persistence Software. Persistence benchmark – extreme EJB performance with PowerTier (2001), http://www.persistence.com/products

  20. The RUBiS project (2002), http://rubis.objectweb.org

  21. Spider Software. Accelarting content delivery: The challenges of dynamic content, white paper (2001), http://www.spidercache.com

  22. Times Ten Team. Mid-tier caching: The TimesTen approach. In: Proceedings of the ACM SIGMOD Conference, Madison, Wisconsin, USA. ACM Press, New York (June 2002)

    Google Scholar 

  23. XCache Technologies. XCache – a dynamic content Web cache, http://www.xcache.com

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pfeifer, D., Jakschitsch, H. (2003). Method-Based Caching in Multi-tiered Server Applications. In: Meersman, R., Tari, Z., Schmidt, D.C. (eds) On The Move to Meaningful Internet Systems 2003: CoopIS, DOA, and ODBASE. OTM 2003. Lecture Notes in Computer Science, vol 2888. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-39964-3_83

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-39964-3_83

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-20498-5

  • Online ISBN: 978-3-540-39964-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics