All Questions
Scaling Reads hard

You use Materialized Views for fast reads. You need real-time freshness, so you trigger a refresh on every write. What is the downside?

  1. A Read speed decreases.
  2. B Write Amplification. A single user write now triggers expensive view re-calculations, effectively moving the Read cost to the Write path and potentially locking tables.
  3. C Data becomes stale.
  4. D Storage cost increases.

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

Get the app

Related questions