write behind

A caching strategy that writes to the cache first and copies the data to the database later.

A crash before the delayed copy reaches the database loses writes that were already acknowledged.

In more detail

It is the fastest write strategy and the only common one that can lose a write the user was already told had succeeded. For that reason a strict durability promise, such as never losing a payment, forbids it.

Related terms

Taught in

References