A commutative replicated data type for cooperative editing

Abstract : A Commutative Replicated Data Type (CRDT) is one where all concurrent operations commute. The replicas of a CRDT converge automatically, without complex concurrency control. This paper describes Treedoc, a novel CRDT design for cooperative text editing. An essential property is that the identifiers of Treedoc atoms are selected from a dense space. We discuss practical alternatives for implementing the identifier space based on an extended binary tree. We also discuss storage alternatives for data and meta-data, and mechanisms for compacting the tree. In the best case, Treedoc incurs no overhead with respect to a linear text buffer. We validate the results with traces from existing edit histories.
Document type :
Conference papers
Complete list of metadatas

https://hal.inria.fr/inria-00445975
Contributor : Brigitte Briot <>
Submitted on : Monday, January 11, 2010 - 4:24:45 PM
Last modification on : Tuesday, May 14, 2019 - 11:01:22 AM
Long-term archiving on : Friday, June 18, 2010 - 12:41:55 AM

File

icdcs09-treedoc.pdf
Publisher files allowed on an open archive

Identifiers

Citation

Nuno Preguiça, Joan Manuel Marquès, Marc Shapiro, Mihai Leția. A commutative replicated data type for cooperative editing. 29th IEEE International Conference on Distributed Computing Systems (ICDCS 2009), Jun 2009, Montreal, Québec, Canada. pp.395-403, ⟨10.1109/ICDCS.2009.20⟩. ⟨inria-00445975⟩

Share

Metrics

Record views

641

Files downloads

13408