All Questions
Redis medium

By default, Redis replication is asynchronous. What is the specific consistency risk associated with this design?

  1. A Replicas may periodically overwrite the Master's state if their internal clocks are slightly ahead of time.
  2. B A Master crash immediately after acknowledging a write can result in data loss if not yet sent to Replicas.
  3. C Redis automatically locks the entire keyspace for all reads once a replication lag of 100ms is detected.
  4. D The database engine requires a 2-Phase Commit on every write to ensure that all secondary nodes are in sync.

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

Get the app

Related questions