%0 Journal Article %J Bulletin of the European Association for Theorical Computer Science %D 2011 %T Convergent and Commutative Replicated Data Types %A Marc Shapiro %A Nuno Preguiça %A Carlos Baquero Moreno %A Marek Zawirsky %A P. Fatourou %A others %P 67–88 %X

Eventual consistency aims to ensure that replicas of some mutable shared object converge without foreground synchronisation. Previous approaches to eventual consistency are ad-hoc and error-prone. We study a principled approach: to base the design of shared data types on some simple formal conditions that are sufficient to guarantee eventual consistency. We call these types Convergent or Commutative Replicated Data Types (CRDTs). This paper formalises asynchronous object replication, either state based or operation based, and provides a sufficient condition appropriate for each case. It describes several useful CRDTs, including container data types supporting both add and remove operations with clean semantics, and more complex types such as graphs and monotonic DAGs. It discusses some properties needed to implement non-trivial CRDTs.

%> https://haslab.uminho.pt/sites/default/files/cbm/files/120-477-1-pb.pdf