Consistent cache maintenance for database driven websites

  • Authors:
  • Paweł Leszczyński;Krzysztof Stencel

  • Affiliations:
  • Faculty of Mathematics and Computer Science, Nicolaus Copernicus University, Toruń;Faculty of Mathematics and Computer Science, Nicolaus Copernicus University, Toruń

  • Venue:
  • ICWE'10 Proceedings of the 10th international conference on Current trends in web engineering
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Since databases became bottlenecks of modern web applications, several techniques of caching data have been proposed. Caching data helps to resolve a problem of a database scalability, however it introduces an additional problem of a consistency maintenance. We are going to develop an existing caching model for an automatic consistency maintenance of the cached data and data stored in a database. We prepare for proposing a dependency graph which provides a mapper between update statements in a relational database and cached objects. When an update on a database is performed the graph allows detecting cached objects which have to be invalidated in order to preserve the consistency of the cache and the data source. We believe that the constructed model allows keeping the number of invalidations as low as possible. We also provide some benchmarks which prove that our method is efficient when compared with other approaches.