Write through and write back in cache memory advantages and disadvantages
Answers
Advantage: Low latency and high throughput for write-intensive applications.
Disadvantage: There is data availability risk because the cache could fail (and so suffer from data loss) before the data is persisted to the backing store. This result in the data being lost
Write through and write back
Explanation:
write-through
Using the write-through policy, data is written to the cache and the backing store location at the same time
Advantage: Ensures fast retrieval while making sure the data is in the backing store and is not lost in case the cache is disrupted.
Disadvantage: Writing data will experience latency as you have to write to two places every time.
write-back
Using the write-back policy, data is written to the cache and Then I/O completion is confirmed.
Advantage: Low latency and high throughput for write-intensive applications.
Disadvantage: There is data availability risk because the cache could fail (and so suffer from data loss) before the data is persisted to the backing store. This result in the data being lost.
#Learn more :
Cache memory advantages and disadvantages
https://brainly.in/question/1940863