Skip to Main content Skip to Navigation
Conference papers

Specification and Complexity of Collaborative Text Editing

Abstract : Collaborative text editing systems allow users to concurrently edit a shared document, inserting and deleting elements (e.g., characters or lines). There are a number of protocols for collaborative text editing, but so far there has been no precise specification of their desired behavior, and several of these protocols have been shown not to satisfy even basic expectations. This paper provides a precise specification of a replicated list object, which models the core func-tionality of replicated systems for collaborative text editing. We define a strong list specification, which we prove is implemented by an existing protocol, as well as a weak list specification, which admits additional protocol behaviors. A major factor determining the efficiency and practical feasibility of a collaborative text editing protocol is the space overhead of the metadata that the protocol must maintain to ensure correctness. We show that for a large class of list protocols, implementing either the strong or the weak list specification requires a metadata overhead that is at least linear in the number of elements deleted from the list. The class of protocols to which this lower bound applies includes all list protocols that we are aware of, and we show that one of these protocols almost matches the bound.
Document type :
Conference papers
Complete list of metadata

Cited literature [29 references]  Display  Hide  Download

https://hal.inria.fr/hal-01351512
Contributor : Marc Shapiro <>
Submitted on : Wednesday, August 3, 2016 - 8:23:35 PM
Last modification on : Friday, January 8, 2021 - 5:46:02 PM
Long-term archiving on: : Friday, November 4, 2016 - 12:13:03 PM

File

editing-podc16.pdf
Files produced by the author(s)

Identifiers

Citation

Hagit Attiya, Sebastian Burckhardt, Alexey Gotsman, Adam Morrison, Hongseok Yang, et al.. Specification and Complexity of Collaborative Text Editing. Int. Symp. on Principles of Distributed Computing (PODC) 2016, Jul 2016, Chicago, IL, United States. pp.10, ⟨10.1145/2933057.2933090⟩. ⟨hal-01351512⟩

Share

Metrics

Record views

706

Files downloads

475