inria-00555588, version 1
A comprehensive study of Convergent and Commutative Replicated Data Types
Marc Shapiro a, 1, 2Nuno Preguiça
b, 3Carlos Baquero
c, 4Marek Zawirski
a, 1, 2
N° RR-7506 (2011)
Résumé : 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, montonic DAGs, and sequences. It discusses some properties needed to implement non-trivial CRDTs.
- a – INRIA
- b – FCT - Universidade Nova de Lisboa, Portugal
- c – Universidade do Minho
- 1 : REGAL (INRIA Rocquencourt)
- INRIA – CNRS : UMR7606 – Université Pierre et Marie Curie (UPMC) - Paris VI
- 2 : Laboratoire d'Informatique de Paris 6 (LIP6)
- CNRS : UMR7606 – Université Pierre et Marie Curie (UPMC) - Paris VI
- 3 : Centro de Investigação em Informática e Tecnologias da Informação (CITI)
- Universidade Nova de Lisboa
- 4 : Universidade do Minho Departamento de Informática Distributed Systems Group (Universidade do Minho Departamento de Informática)
- Campus de Azurém
- Collaboration : INRIA, UNL, U Minho, LIP6
- Domaine : Informatique/Autre
- Mots-clés : eventual consistency – optimistic replication – replicated data types – distributed algorithms – distributed systems – Data replication – commutative operations
- Référence interne : RR-7506
- inria-00555588, version 1
- http://hal.inria.fr/inria-00555588
- oai:hal.inria.fr:inria-00555588
- Contributeur : Marc Shapiro
- Soumis le : Jeudi 13 Janvier 2011, 19:34:51
- Dernière modification le : Lundi 4 Avril 2011, 16:32:32