Evaluating CRDTs for real-time document editing

  • Authors:
  • Mehdi Ahmed-Nacer;Claudia-Lavinia Ignat;Gérald Oster;Hyun-Gul Roh;Pascal Urso

  • Affiliations:
  • Université de Lorraine, Vandoeuvre-lès-Nancy, France;INRIA Nancy - Grand Est, Villers-lès-Nancy, France;Université de Lorraine, Vandoeuvre-lès-Nancy, France;INRIA Nancy - Grand Est, Villers-lès-Nancy, France;Université de Lorraine, Vandoeuvre-lès-Nancy, France

  • Venue:
  • Proceedings of the 11th ACM symposium on Document engineering
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Nowadays, real-time editing systems are catching on. Tools such as Etherpad or Google Docs enable multiple authors at dispersed locations to collaboratively write shared documents. In such systems, a replication mechanism is required to ensure consistency when merging concurrent changes performed on the same document. Current editing systems make use of operational transformation (OT), a traditional replication mechanism for concurrent document editing. Recently, Commutative Replicated Data Types (CRDTs) were introduced as a new class of replication mechanisms whose concurrent operations are designed to be natively commutative. CRDTs, such as WOOT, Logoot, Treedoc, and RGAs, are expected to be substitutes of replication mechanisms in collaborative editing systems. This paper demonstrates the suitability of CRDTs for real-time collaborative editing. To reflect the tendency of decentralised collaboration, which can resist censorship, tolerate failures, and let users have control over documents, we collected editing logs from real-time peer-to-peer collaborations. We present our experiment results obtained by replaying those editing logs on various CRDTs and an OT algorithm implemented in the same environment.