All Questions
Scaling Reads medium

In the 'Cache-Aside' pattern, what happens when the application requests data that is NOT in the cache?

  1. A The application queries the DB, gets the result, writes it to the Cache, and then returns it.
  2. B The Cache automatically queries the DB.
  3. C The application returns an error.
  4. D The DB pushes the data to the Cache.

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

Get the app

Related questions