The Single-Writer Principle in CRDT Composition
Author(s) -
Vitor Enes,
Paulo Sérgio Almeida,
Carlos Baquero
Publication year - 2017
Publication title -
portuguese national funding agency for science, research and technology (rcaap project by fct)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/3166089.3168733
Subject(s) - replica , computer science , distributed computing , eventual consistency , merge (version control) , replication (statistics) , dissemination , consistency (knowledge bases) , composition (language) , theoretical computer science , data consistency , consistency model , parallel computing , artificial intelligence , biology , telecommunications , linguistics , philosophy , virology , visual arts , art
Multi-master replication in a distributed system setting allows each node holding a replica to update and query the local replica, and disseminate updates to other nodes. Obtaining high availability typically entails allowing replicas to diverge and requires a background mechanism for re-establishing consistency. Conflict-free Replicated Data Types (CRDTs) extend standard sequential data-types with appropriate merge functions, and often can be composed together to create more complex ones. In this work we add a generic CRDT composition approach that explores the single-writer principle. By carefully controlling which part of the composition can be updated by each replica, we can derive efficient designs that cover new use-cases. After introducing the new construction we exemplify some uses, including how to emulate a simple Doodle functionality for selecting a common meeting schedule among different participants.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom