All Questions
Caching easy

In a Write-Back (Write-Behind) cache, data is acknowledged as 'saved' once it hits the cache. Synchronization to the DB happens later. What is the risk?

  1. A The average read latency for popular items increases significantly as the system waits for database confirmation.
  2. B The primary database becomes immediately overloaded with high-frequency write operations during peak traffic bursts.
  3. C There is a risk of permanent data loss if the cache node fails before it can successfully flush the changes to the DB.
  4. D The cache memory fills up prematurely because items are not evicted until they have been successfully synchronized.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions