write through

A caching strategy that writes every change to the cache and the database at the same time.

In more detail

The cache is never cold for written keys and stale reads after writes are avoided, but every write pays a second round trip. It suits data that is read soon after being written.

Related terms

Taught in

References