Last-Writer-Wins algorithm and converge the replicas to the same state.
This model gives a better write consistency and read scalability but can provide
only Eventual Consistency. Additionally you can achieve Causal
Consistency (Read-Your-Writes, Monotonic-Reads, Monotonic-Writes and
Writes-Follow-Reads guarantees) for a single Redis connection. (A TCP
connection forms a session between client and server).
Checkout Read Your Writes for more details on how to achieve RYW consistency.
Checkout Replication for more details on Replication mechanism.
Previously, Upstash supported
Strong Consistency mode for the single region
databases. We decided to deprecate this feature because its effect on latency
started to conflict with the performance expectations of Redis use cases. Also
we are gradually moving to CRDT based Redis data structures, which will
provide Strong Eventual Consistency.