Write-through cache
A caching strategy where every write goes both to the cache and to the backing layer immediately. Safer than write-back (no "dirty" data is risked on a crash) but slower, since every write waits for the slow layer.
Mechanic: a write updates the cache and is written straight through to memory/disk; the cache and backing layer are always in sync. Win: simple consistency, no data loss on power failure (there's never unwritten data in the cache), easier recovery. Trade-off: write performance is limited by the slow layer, and the bus is loaded more (every write goes all the way). Often combined with a write buffer to hide some of the latency. Use when data integrity matters more than write speed, or where writes are rare compared to reads. The opposite is write-back (faster, riskier). A classic trade-off in CPU caches, RAID, and database caches. Related to write-back.