%0 Conference Proceedings %T A commutative replicated data type for cooperative editing %+ Centro de Investigação em Informática e Tecnologias da Informação (CITI) %+ Universitat Oberta de Catalunya [Barcelona] (UOC) %+ Large-Scale Distributed Systems and Applications (Regal) %+ Laboratoire de l'Informatique du Parallélisme (LIP) %A Preguiça, Nuno %A Marquès, Joan Manuel %A Shapiro, Marc %A Leția, Mihai %< avec comité de lecture %B 29th IEEE International Conference on Distributed Computing Systems (ICDCS 2009) %C Montreal, Québec, Canada %I IEEE Computer Society %P 395-403 %8 2009-06-22 %D 2009 %R 10.1109/ICDCS.2009.20 %Z Computer Science [cs]/Data Structures and Algorithms [cs.DS]Conference papers %X 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. %G English %2 https://inria.hal.science/inria-00445975/document %2 https://inria.hal.science/inria-00445975/file/icdcs09-treedoc.pdf %L inria-00445975 %U https://inria.hal.science/inria-00445975 %~ ENS-LYON %~ UPMC %~ CNRS %~ INRIA %~ UNIV-LYON1 %~ INRIA-ROCQ %~ PRUNEL %~ INRIA_TEST %~ TESTALAIN1 %~ LIP6 %~ INRIA2 %~ UPMC_POLE_1 %~ SORBONNE-UNIVERSITE %~ SU-SCIENCES %~ UDL %~ UNIV-LYON %~ SU-TI %~ ALLIANCE-SU