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. Using Code Transformation for Consistent and Transparent Caching of Dynamic Web Content
 
report

Using Code Transformation for Consistent and Transparent Caching of Dynamic Web Content

Bouchenak, Sara
•
Mittal, Sumit
•
Zwaenepoel, Willy  
2003

We present a consistent and transparent caching system for dynamic web pages produced by a server-side application using a back-end database. Cached pages always reflect current database values. No intervention from the programmer is necessary to implement caching. The system is an improvement on earlier methods that either did not guarantee consistency and/or relied on substantial programmer intervention. The novel idea is that a compiler analyzes and transforms the server-side application code to include cache checks, inserts, and invalidations. In order to provide precise invalidations and attendant good hit ratios, we check the intersection of the database table columns used by the read and the write queries, augmented by uniqueness information from the database schema and comparison of the query selection predicates against values inserted in the database. We use Java bytecode rewriting to implement the transformation of the server-side application. Using the Rubis benchmark, we demonstrate that transparent and consistent caching achieves substantial improvements in response time and throughput.

  • Files
  • Details
  • Metrics
Loading...
Thumbnail Image
Name

IC_TECH_REPORT_200383.pdf

Access type

openaccess

Size

328.52 KB

Format

Adobe PDF

Checksum (MD5)

1a05b0883fca0aa3be6219414d56edd3

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