All Questions
Caching medium

You need a Redis cache that survives restarts with minimal data loss. Comparing RDB (Snapshot) vs AOF (Append Only File), which is true?

  1. A RDB is faster for recovery but can lose minutes of data; AOF offers higher durability (up to 1s or per-write) but has larger file sizes.
  2. B RDB provides exact point-in-time recovery with zero data loss.
  3. C AOF is deprecated and should not be used.
  4. D Neither supports persistence; Redis is strictly volatile.

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

Get the app

Related questions