Freshness-aware caching in a cluster of J2EE application servers

  • Authors:
  • Uwe Röhm;Sebastian Schmidt

  • Affiliations:
  • The University of Sydney, Sydney, NSW, Australia;University of Karlsruhe, Karlsruhe, Germany

  • Venue:
  • WISE'07 Proceedings of the 8th international conference on Web information systems engineering
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Application servers rely on caching and clustering to achieve high performance and scalability. While queries benefit from middletier 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.