Conflict-free replicated data types

  • Authors:
  • Marc Shapiro;Nuno Preguiça;Carlos Baquero;Marek Zawirski

  • Affiliations:
  • INRIA and LIP6, Paris, France;INRIA, Paris, France and CITI, Universidade Nova de Lisboa, Portugal;Universidade do Minho, Portugal;INRIA and UPMC, Paris, France

  • Venue:
  • SSS'11 Proceedings of the 13th international conference on Stabilization, safety, and security of distributed systems
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Replicating data under Eventual Consistency (EC) allows any replica to accept updates without remote synchronisation. This ensures performance and scalability in large-scale distributed systems (e.g., clouds). However, published EC approaches are ad-hoc and error-prone. Under a formal Strong Eventual Consistency (SEC) model, we study sufficient conditions for convergence. A data type that satisfies these conditions is called a Conflict-free Replicated Data Type (CRDT). Replicas of any CRDT are guaranteed to converge in a self-stabilising manner, despite any number of failures. This paper formalises two popular approaches (state- and operation-based) and their relevant sufficient conditions. We study a number of useful CRDTs, such as sets with clean semantics, supporting both add and remove operations, and consider in depth the more complex Graph data type. CRDT types can be composed to develop large-scale distributed applications, and have interesting theoretical properties.