Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Reports, Documentation, and Standards
  4. Caching Dynamic Web Content in J2EE Applications: An Automated Solution Using Aspect Programming
 
report

Caching Dynamic Web Content in J2EE Applications: An Automated Solution Using Aspect Programming

Bouchenak, Sara
•
Cox, Alan
•
Dropsho, Steven  
Show more
2004

Caching is an effective means for reducing load on web servers, especially for those that dynamically generate web documents in J2EE applications. While adding caching to the application server can greatly reduce response times for requests, the logic to ensure consistency with the backend database requires considerable effort to develop. Much of the complexity is in minimizing unnecessary page invalidations, a key goal for improving the cache hit rate and response times. In this paper we explore a range of invalidation policies that are progressively more precise. A contribution of this work is in achieving precise invalidations at the application server layer automatically. To explore these issues, we introduce AutoWebCache, a system for adding caching for dynamic content automatically to J2EE server-side applications having a back-end database. It uses aspect oriented programming for injecting the cache code automatically into an application, but this method requires the SQL query analysis-- needed for invalidation-- be performed at run-time, which is costly. We demonstrate how to eliminate this run-time analysis overhead through effective caching of intermediate analysis results. In two e-commerce benchmarks, RUBiS and TPC-W, we show our method can be highly effective, reducing the response times, 63% and 97%, respectively.

  • Details
  • Metrics
Type
report
Author(s)
Bouchenak, Sara
Cox, Alan
Dropsho, Steven  
Mittal, Sumit
Zwaenepoel, Willy  
Date Issued

2004

Subjects

Dynamic web caching

•

Aspect Oriented Programming

•

AOP

Written at

EPFL

EPFL units
LABOS  
Available on Infoscience
July 13, 2005
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/214716
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés