• DocumentCode
    2438252
  • Title

    A Commutative Replicated Data Type for Cooperative Editing

  • Author

    Preguiça, Nuno ; Marques, Joan M. ; Shapiro, Marc ; Letia, Mihai

  • Author_Institution
    CITI/FCT, Univ. Nova de Lisboa, Lisboa, Portugal
  • fYear
    2009
  • fDate
    22-26 June 2009
  • Firstpage
    395
  • Lastpage
    403
  • Abstract
    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.
  • Keywords
    concurrency control; groupware; storage management; text editing; trees (mathematics); Treedoc; commutative replicated data type; concurrent operations; cooperative text editing; extended binary tree; identifier space; metadata storage; tree compacting; Automatic control; Binary trees; Compaction; Concurrency control; Concurrent computing; Convergence; Delay; Distributed computing; History; Writing; co-operative editing; commutative replicated data type; dense identifier space; distributed algorithms; replicated data;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Distributed Computing Systems, 2009. ICDCS '09. 29th IEEE International Conference on
  • Conference_Location
    Montreal, QC
  • ISSN
    1063-6927
  • Print_ISBN
    978-0-7695-3659-0
  • Electronic_ISBN
    1063-6927
  • Type

    conf

  • DOI
    10.1109/ICDCS.2009.20
  • Filename
    5158449