Transactional Caching
- f Application Data
using Recent Snapshots
Dan R. K. Ports Austin T. Clements Irene Y. Zhang Samuel Madden Barbara Liskov MIT CSAIL
Transactional Caching of Application Data using Recent Snapshots - - PowerPoint PPT Presentation
Transactional Caching of Application Data using Recent Snapshots Dan R. K. Ports Austin T. Clements Irene Y. Zhang Samuel Madden Barbara Liskov MIT CSAIL How to improve performance of DB-driven web site? Distributed in-memory caching ( e.g.
Dan R. K. Ports Austin T. Clements Irene Y. Zhang Samuel Madden Barbara Liskov MIT CSAIL
Application Database
Application Database Cache
very lightweight
(not part of DB)
Application Database Cache
consistency: all accesses to cache and database in a transaction see the same snapshot
freshness: cache is up-to-date with database
consistency: all accesses to cache and database in a transaction see the same snapshot
freshness: cache is up-to-date with database
Application Database TxCache Library Cache
tagged by validity interval
Application Database TxCache Library Cache
K1 K2 time
tagged by validity interval
interval with each query
Application Database TxCache Library Cache SELECT * FROM users… [...result...] VALID FROM t=50 TO t=53
tagged by validity interval
interval with each query
to each transaction
data from cache & DB
Application Database TxCache Library Cache