All Questions
Caching easy

Why is 'Cache Invalidation' often cited as one of the hardest problems in Computer Science?

  1. A Because modern RAM hardware is inherently unreliable and prone to frequent unrecoverable bit-flip errors.
  2. B Because it requires accurately predicting the future access frequency of every individual item in the dataset.
  3. C Because maintaining a duplicate copy of data in sync with a rapidly changing source of truth is architecturally complex.
  4. D Because calculating the optimal eviction score for a given cache entry is a theoretically NP-hard computational problem.

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

Get the app

Related questions