Performance

Cache-Aside

English

Overview

A caching pattern where the application reads from and writes to the cache and the database separately.

Details

On a read, the app checks the cache first and falls back to the database, then writes the result into the cache. It's one of the most common caching patterns, since it gives the application direct control over both the database and the cache.

More Database terms