Slide 13
Slide 13 text
! A CRDT instance is a replicated object that satisfies strong eventual consistency
◦ Correct replicas that deliver the same operations have equivalent state
! For the OR-set illustrated here: if (v,a,r) with a-r≠{} then v is in the set
◦ All operations cause monotonic increases in a and r; when all updates are delivered then a
and r are the same at all replicas, so all agree on membership of v
Conflict-free replicated set
r
a
r
b
r
c
add(1)
add(1)
(1,{α},{})
(1,{β},{})
remove(1)
(1,{β},{β})
(1,{α,β},{β})
(1,{α,β},{β})
(1,{α,β},{β})
(1,{β},{})
« 1 is in the set »
« 1 is in the set »
« 1 is in the set »
13
merge merge
merge
merge