All Questions
Caching easy

System A has a Cache Hit Ratio of 99%. System B has a Hit Ratio of 50%. Assuming cache reads take 1ms and DB reads take 100ms, which statement is true?

  1. A System A experiences significantly lower average request latency than System B due to the high hit rate.
  2. B System B is inherently more efficient because it forces more frequent data refreshes from the main database.
  3. C The performance difference is negligible because both systems utilize a similar total amount of cache memory.
  4. D System A is likely suffering from 'Cache Pollution', as it is holding onto too much data for too long.

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

Get the app

Related questions