Back to Redis

Rc Rs Aa Synchronization

content/embeds/rc-rs-aa-synchronization.md

latest496 B
Original Source

In the example below, database writes are concurrent at the points in time t1 and t2 and happen before a sync can communicate the changes. However, writes at times t4 and t6 are not concurrent as a sync happened in between.

TimeCRDB Instance1CRDB Instance2
t1SET key1 "a"
t2SET key1 "b"
t3— Sync —— Sync —
t4SET key1 "c"
t5— Sync —— Sync —
t6SET key1 "d"