MediumConceptBuilding blocks and trade-offs
What is the difference between a write-through, write-back and write-around cache?
What a good answer covers
Write-through writes to cache and store together and stays consistent but is slower. Write-back writes to cache first and flushes later, which is fast but risks loss on failure. Write-around writes only to the store and lets reads populate the cache.