Pattern 08 / CACHE
Write-Through
Use this when keeping cache and storage fresh immediately after writes.
- Pressure
- Keeping cache and storage fresh immediately after writes
- Mechanism
- Write to cache and database in the same write path so later reads hit updated cache data
- Toll
- Writes are slower and unused values may occupy cache
