Supporting String-Wise Operations and Selective Undo for Peer-to-Peer Group Editing

Weihai Yu

Abstract

Real-time group editing has been envisioned as an effective manner of collaboration. For years, operational transformation (OT) has been the standard concurrency control mechanism for real-time group editing, due to its potential for high responsiveness to local editing operations. OT algorithms are generally non-trivial to be error-free and are computation intensive. Recently, commutative replicated data types (CRDT) have appeared as an alternative to OT. The state-of-the-art OT and CRDT work still lacks the basic functionality found in single-user text editors. In particular, there is no published work that supports both string-wise operations and selective undo. This paper presents an approach that combines and extends OT and CRDT strengths. It is fully decentralized and supports string-wise editing operations and selective undo. Our performance study shows that it provides sufficient responsiveness to the end-users.

Venue
GROUP 2014
Volume
Proceedings of the 18th International Conference on Supporting Group Work
DOI
10.1145/2660398.2660401
PDF
https://dl.acm.org/doi/pdf/10.1145/2660398.2660401
Anthology ID
2014.group.3

Cite

@inproceedings{yu-2014-supporting,
    title = {{Supporting String-Wise Operations and Selective Undo for Peer-to-Peer Group Editing}},
    author = {Weihai Yu},
    booktitle = {Proceedings of the 18th International Conference on Supporting Group Work},
    isbn = {9781450330435},
    year = {2014},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/2660398.2660401},
    url = {https://doi.org/10.1145/2660398.2660401},
    abstract = {Real-time group editing has been envisioned as an effective manner of collaboration. For years, operational transformation (OT) has been the standard concurrency control mechanism for real-time group editing, due to its potential for high responsiveness to local editing operations. OT algorithms are generally non-trivial to be error-free and are computation intensive. Recently, commutative replicated data types (CRDT) have appeared as an alternative to OT. The state-of-the-art OT and CRDT work still lacks the basic functionality found in single-user text editors. In particular, there is no published work that supports both string-wise operations and selective undo. This paper presents an approach that combines and extends OT and CRDT strengths. It is fully decentralized and supports string-wise editing operations and selective undo. Our performance study shows that it provides sufficient responsiveness to the end-users.}
}