Pattern 09 / CACHE
Write-Behind (Write-Back)
Use this when absorbing high write volume with low perceived latency.
- Pressure
- Absorbing high write volume with low perceived latency
- Mechanism
- Write into cache or memory first, then flush changes to durable storage asynchronously in batches
- Toll
- A crash before flush can lose data and the database intentionally lags
