Article

A comprehensive study of Convergent and Commutative Replicated Data Types

DOI:http://hal.inria.fr/docs/00/55/55/88/PDF/techreport.pdf
Source: OAI

ABSTRACT 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.

0 0
 · 
1 Bookmark
 · 
240 Views
  • Source
    Article: Controlled conflict resolution for replicated document
    [show abstract] [hide abstract]
    ABSTRACT: Collaborative working is increasingly popular, but it presents challenges due to the need for high responsiveness and disconnected work support. To address these challenges the data is optimistically replicated at the edges of the network, i.e. personal computers or mobile devices. This replication requires a merge mechanism that preserves the consistency and structure of the shared data subject to concurrent modifications. In this paper, we propose a generic design to ensure eventual consistency (every replica will eventually view the same data) and to maintain the specific constraints of the replicated data. Our layered design provides to the application engineer the complete control over system scalability and behavior of the replicated data in face of concurrent modifications. We show that our design allows replication of complex data types with acceptable performances.
    12/2012;

Full-text (2 Sources)

View
30 Downloads
Available from
10 Dec 2012

Keywords

\add
 
Commutative Replicated Data Types
 
container data types
 
error-prone
 
Eventual consistency
 
foreground synchronisation
 
graphs
 
guarantee eventual consistency
 
mutable
 
paper formalises asynchronous
 
Previous approaches
 
semantics
 
sequences
 
simple formal conditions
 
sufficient condition appropriate