All Questions
Redis hard

The `WAIT` command blocks until a write is acknowledged by N replicas. Does this mechanism strictly guarantee Linearizability (Strong Consistency)?

  1. A Yes, it transforms Redis into a strictly CP system that adheres to formal sequential consistency standards.
  2. B No; `WAIT` improves the probability of durability but does not prevent inconsistencies during 'Split Brain' network partitions.
  3. C Only if the instance is configured with the 'Strict AOF' flag to ensure every write is flushed before acknowledgement.
  4. D Yes, but only within a native Redis Cluster environment that uses the RAFT consensus protocol for the data path.

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

Get the app

Related questions