Concurrency Effects Over Variable-size Identifiers in Distributed Collaborative Editing - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Concurrency Effects Over Variable-size Identifiers in Distributed Collaborative Editing

Résumé

Distributed collaborative editors such as Google Docs or Etherpad allow to distribute the work across time, space and organizations. In this paper, we focus on distributed collaborative editors based on the Conflict-free Replicated Data Type approach (CRDT). CRDTs encompass a set of well-known data types such as sets, graphs, sequences, etc. CRDTs for sequences model a document as a set of elements (character, line, paragraph, etc.) with unique identifiers, providing two commutative update operations: insert and delete. The identifiers of elements can be either of fixed-size or variable-size. Recently, a strategy for assigning variable-size identifiers called LSEQ has been proposed for CRDTs for sequences. LSEQ lowers the space complexity of variable-size identifiers CRDTs from linear to sub-linear. While experiments show that it works locally, it fails to provide this bound with multiple users and latency. In this paper, we propose h-LSEQ, an improvement of LSEQ that preserves its space complexity among multiple collaborators, regardless of the latency. Ultimately, this improvement allows to safely build distributed collaborative editors based on CRDTs. We validate our approach with simulations involving latency and multiple users.
Fichier principal
Vignette du fichier
paper5.pdf (190.89 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00921655 , version 1 (20-12-2013)

Identifiants

  • HAL Id : hal-00921655 , version 1

Citer

Brice Nédelec, Pascal Molli, Achour Mostefaoui, Emmanuel Desmontils. Concurrency Effects Over Variable-size Identifiers in Distributed Collaborative Editing. Document Changes: Modeling, Detection, Storage and Visualization, Sep 2013, Florence, Italy. pp.0--7. ⟨hal-00921655⟩
226 Consultations
280 Téléchargements

Partager

Gmail Facebook X LinkedIn More