All Questions
Scaling Reads hard

You use a Bloom Filter to optimize reads by avoiding disk lookups for non-existent keys. As the number of items in the DB grows beyond the Bloom Filter's capacity, what happens?

  1. A The False Negative rate increases (System says 'Not Exists' when it does exist).
  2. B The False Positive rate increases (System says 'Might Exist' when it doesn't), causing unnecessary disk lookups and degrading read performance.
  3. C The database crashes.
  4. D The Bloom Filter automatically resizes.

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

Get the app

Related questions