All Questions
Redis medium

An application requires high durability for its Redis data, minimizing loss during a crash. Which persistence configuration is most appropriate?

  1. A RDB (Redis Database File): Periodic Point-in-Time snapshots of the entire dataset at specified intervals.
  2. B AOF (Append Only File): Logging every write operation and using `fsync` every second for safety.
  3. C Memory Only: Disabling all persistence to maximize raw throughput for ephemeral session data.
  4. D Standard Replication: Relying solely on asynchronous replica nodes to maintain a copy of the RAM state.

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

Get the app

Related questions