A Commutative Replicated Data Type for Cooperative Editing
The DOI matches its Crossref record; 21 of the 21 references it cites were found in a registry or an index.
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Time, clocks, and the ordering of events in a distributed system
Lamport, L. (1978) · Communications of the ACM · doi:10.1145/359545.359563 · Cited by 8,488 · cited 1×
“First, serializing, i.e., enforcing a total order of operations before execution [1].”
BackgroundConcurrency control in groupware systems
Ellis, C. A., & Gibbs, S. J. (1989) · ACM SIGMOD Record · doi:10.1145/66926.66963 · Cited by 873
Sun, C., Jia, X., Zhang, Y., Yang, Y., & Chen, D. (1998) · ACM Transactions on Computer-Human Interaction · doi:10.1145/274444.274447 · Cited by 585
Operational transformation in real-time group editors: issues, algorithms, and achievements
Sun, C., & Ellis, C. (1998) · Proceedings of the 1998 ACM conference on Computer supported cooperative work · doi:10.1145/289444.289469 · Cited by 497
Concurrency control in groupware systems
Ellis, C. A., & Gibbs, S. J. (1989) · Proceedings of the 1989 ACM SIGMOD international conference on Management of data - SIGMOD '89 · doi:10.1145/67544.66963 · Cited by 457 · cited 1×
“Operational transformation (OT) [2, 9–12] considers collaborative editing based on non-commutative operations.”
BackgroundConsensus on transaction commit
Gray, J., & Lamport, L. (2006) · ACM Transactions on Database Systems · doi:10.1145/1132863.1132867 · Cited by 346 · cited 1×
“Any distributed commitment protocol from the literature will do, for instance two-phase commit, three-phase commit, or Gray and Lamport’s fault-tolerant protocol [6].”
BackgroundGeneralized Consensus and Paxos
Lamport, L. (2005) · Cited by 296
An integrating, transformation-oriented approach to concurrency control and undo in group editors
Ressel, M., Nitsche-Ruhland, D., & Gunzenhäuser, R. (1996) · Proceedings of the 1996 ACM conference on Computer supported cooperative work · doi:10.1145/240080.240305 · Cited by 272
Data consistency for P2P collaborative editing
Oster, G., Urso, P., Molli, P., & Imine, A. (2006) · Proceedings of the 2006 20th anniversary conference on Computer supported cooperative work · doi:10.1145/1180875.1180916 · Cited by 215 · cited 1×
“propose the WOOT algorithm for managing cooperative editing, supporting insert and delete operations [24].”
MethodTransparent adaptation of single-user applications for multi-user real-time collaboration
Sun, C., Xia, S., Sun, D., Chen, D., Shen, H., & Cai, W. (2006) · ACM Transactions on Computer-Human Interaction · doi:10.1145/1188816.1188821 · Cited by 178
Semantics-based concurrency control: beyond commutativity
Badrinath, B. R., & Ramamritham, K. (1992) · ACM Transactions on Database Systems · doi:10.1145/128765.128771 · Cited by 177 · cited 1×
“A number of papers study the advantages of commuta-tivity for concurrency and consistency control [17, 18, for instance].”
BackgroundLogoot: A Scalable Optimistic Replication Algorithm for Collaborative Editing on P2P Networks
Weiss, S., Pascal Urso, B., & Molli, P. (2009) · IEEE International Conference on Distributed Computing Systems (ICDCS) · doi:10.1109/icdcs.2009.75 · Cited by 149 · cited 2×
“We offer a brief comparison with Logoot, a recent CRDT for co-operative editing [7].”
BackgroundHandling message semantics with Generic Broadcast protocols
Pedone, F., & Schiper, A. (2002) · Distributed Computing · doi:10.1007/s004460100061 · Cited by 105 · cited 1×
“Systems such as Psync [19], Generalized Paxos [20], Generic Broadcast [21] and IceCube [22] make use of commutativity information to relax consistency or scheduling requirements.”
BackgroundTombstone Transformation Functions for Ensuring Consistency in Collaborative Editing Systems
Oster, G., Molli, P., Pascal Urso, B., & Abdessamad Imine, A. (2006) · International Conference on Collaborative Computing: Networking, Applications and Worksharing (CollaborateCom) · doi:10.1109/colcom.2006.361867 · Cited by 87 · cited 1×
“Later solutions [14–16] are complex, and their correctness is hard to verify.”
BackgroundPreserving operation effects relation in group editors
Li, D., & Li, R. (2004) · ACM Conference on Computer Supported Cooperative Work (CSCW) · doi:10.1145/1031607.1031683 · Cited by 86 · cited 1×
“Operational transformation (OT) [2, 9–12] considers collaborative editing based on non-commutative operations.”
BackgroundSemantics-Based Reconciliation for Collaborative and Mobile Environments
Preguiça, N., Shapiro, M., & Matheson, C. (2003) · Lecture notes in computer science · doi:10.1007/978-3-540-39964-3_5 · Cited by 71 · cited 1×
“Systems such as Psync [19], Generalized Paxos [20], Generic Broadcast [21] and IceCube [22] make use of commutativity information to relax consistency or scheduling requirements.”
BackgroundSelf-citationOperation context and context-based operational transformation
Sun, D., & Sun, C. (2006) · ACM Conference on Computer Supported Cooperative Work (CSCW) · doi:10.1145/1180875.1180918 · Cited by 63 · cited 1×
“Later solutions [14–16] are complex, and their correctness is hard to verify.”
BackgroundEnsuring content and intention consistency in real-time group editors
Li, D., & Li, R. (2004) · Proceedings of the ... International Conference on Distributed Computing Systems/Proceedings of the International Conference on Distributed Computing Systems · doi:10.1109/icdcs.2004.1281643 · Cited by 41
A New Operational Transformation Framework for Real-Time Group Editors
Li, R., & Li, D. (2007) · IEEE Transactions on Parallel and Distributed Systems · doi:10.1109/tpds.2007.35 · Cited by 35 · cited 1×
“Later solutions [14–16] are complex, and their correctness is hard to verify.”
BackgroundProving correctness of transformation functions in collaborative editing systems
Oster, G., Pascal Urso, B., Molli, P., & Abdessamad Imine, A. (2005) · HAL · Cited by 27
A comparison of optimistic approaches to collaborative editing of Wiki pages
Ignat, C., Oster, G., Molli, P., Cart, M., Ferrié, J., Kermarrec, A.-M., Sutra, P., Shapiro, M., Benmouffok, L., Busca, J.-M., et al. (2007) · International Conference on Collaborative Computing: Networking, Applications and Worksharing (CollaborateCom) · doi:10.1109/colcom.2007.4553878 · Cited by 26
Self-citation
Cited by
Conflict-Free Replicated Data Types
Shapiro, M., Preguiça, N., Baquero, C., & Zawirski, M. (2011) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-24550-3_29 · Cited by 736
“Non-trivial CRDTs are known to exist: for instance, we previously published Treedoc, a sequence CRDT for co-operative text editing [14].”
BackgroundMethodSelf-citation
Metadata
- Authors
- Preguica, N., Marques, J. M., Shapiro, M., & Letia, M.
- Venue
- 2009 29th IEEE International Conference on Distributed Computing Systems
- Publisher
- IEEE
- Published
- 2009-06
- Pages
- 395-403
- OpenAlex
- W2118242633
- Cited by
- 224
- References
- 21
- FWCI
- 8.91
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.