Cache-Aside (Lazy)
App reads cache first → miss → fetch DB → write to cache. Most common pattern.
Used by: Redis, Memcached
Write-Through
Every write goes to cache AND DB simultaneously. Cache always consistent but slower writes.
Used by: banking, inventory
Write-Back (Write-Behind)
Write to cache first, async sync to DB later. Fastest writes, risk of data loss on crash.
Used by: high-throughput logs