All Questions
Caching easy

Which scenario best describes a Write-Through caching strategy?

  1. A The application writes to the cache, and the cache immediately writes to the DB before returning success.
  2. B The application writes to the cache and receives immediate confirmation; the database is updated later.
  3. C The application writes directly to the database and sends an invalidation signal to the cache cluster.
  4. D The application writes to a persistent message queue, which then handles both cache and database updates.

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

Get the app

Related questions