All Questions
Caching hard

A Bloom Filter is used to prevent Cache Penetration. It reports that a key is 'Present'. You check the cache and DB, but the key does NOT exist. What happened?

  1. A The system has encountered a 'False Negative' error where the data exists in the persistent store but was incorrectly reported missing by the filter.
  2. B The Bloom Filter produced a 'False Positive', which is a known probabilistic trade-off where an absent item is reported as being potentially present.
  3. C The internal bit-array of the filter has reached its maximum capacity limit, causing it to automatically default to a 'Present' signal for all keys.
  4. D The cache node has experienced a localized hardware bit-rot event that corrupted the specific memory segment dedicated to the Bloom Filter data.

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

Get the app

Related questions