Intermediate System Design
Q47 / 100

What is the difference between "write-through" and "write-back" (write-behind) caching strategies?

Correct! Well done.

Incorrect.

The correct answer is A) Write-through writes to the cache and the underlying store synchronously; write-back writes to the cache first and updates the underlying store later, asynchronously

A

Correct Answer

Write-through writes to the cache and the underlying store synchronously; write-back writes to the cache first and updates the underlying store later, asynchronously

Explanation

Write-through ensures consistency at the cost of higher write latency; write-back improves write performance but risks data loss if the cache fails before the data is persisted.

Progress
47/100