AOP-Based
Caching of Dynamic Web Content
Sara Bouchenak
Resumé :
Caching
is an appealing approach for server-side acceleration of
dynamic
content web
sites. Previous work in this area provides either non-transparent
caching
obtained at the expense of considerable effort from the application
programmer,
or a transparent but non-consistent caching system that does not
guarantee
complete consistency of cached data. We propose a new method for
transparent
and consistent caching of dynamically generated web pages.
We report
on our experience in providing: (i) transparent caching using
aspect-oriented programming (AOP), and (ii) efficient and
consistent
caching of dynamic content using query analysis techniques.
We have built and
evaluated AutoWebCache, a caching system of dynamic web content that
follows the proposed
method and effectively enhances web application performance.
We
use two
J2EE dynamic web applications to validate our
experiments: the TPC-W on-line bookstore and the RUBiS auction site. In
the two e-commerce applications, we show that AutoWebCache can be
highly effective, reducing the response time, 97% for TPC-W and 63% for
RUBiS.