Write-through cache is a caching technique in which data is simultaneously copied to higher level caches, backing storage or memory. It is common in processor architectures that perform a write operation on cache and backing stores at the same time.
Write-through cache helps increase read performance in memory access methods because the requested data is already present in the cache and memory. In each write-through operation, data that is brought into the cache is also written into the backing store, which is the primary memory (RAM, in most cases).
Write-through cache also helps with data recovery, as the data in operation is written to both cache and memory. It is nearly impossible to restore data from cache. However, to an extent, modern operating systems (OS) have the ability to save an instance of running memory.
No comments:
Post a Comment