All Questions
Caching medium

What widespread race condition does the 'Delayed Double Delete' pattern address?

  1. A Conflicts arising from two independent writers attempting to update the same database record simultaneously during a peak traffic window.
  2. B A reader fetching stale data and writing it to the cache after a concurrent writer has already performed a primary cache invalidation.
  3. C Scenarios where the cache cluster process crashes during a write operation, leaving the database and cache in a permanently divergent state.
  4. D Inconsistencies caused by the inherent replication lag between the primary database instance and its globally distributed read-only replicas.

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

Get the app

Related questions