Scalable P2P Reconciliation Infrastructure for Collaborative Text Editing

We address the problem of optimistic replication forcollaborative text editing in Peer-to-Peer (P2P) systems. This problem is challenging because of concurrent updating at multiple peers and dynamic behavior of peers. Operationaltransformation (OT) is a typical approach used for handlingoptimistic replication in the context of distributed text editing. However, most of OT solutions are neither scalable nor suited for P2P networks due to the dynamic behavior of peers. In this paper, we propose a scalable P2P reconciliation infrastructure for OT that assures eventual consistency and liveness despite dynamicity and failures. We propose a P2P logging and timestamping service called P2P-LTR (P2P Logging and Timestamping for Reconciliation) which exploits a distributed hash table (DHT) for reconciliation. While updating replica copies at collaborating peer editors, updates are stored in ahighly available P2P log. To enforce eventual consistency, these updates must be retrieved in a specific total order to be reconciled at the peer editors. P2P-LTR provides an efficient mechanism for determining the total order of updates. It also deals with the case of peers that may join and leave the system during the update operation. We evaluated the performance of P2P-LTR through simulation; the results show the efficiency and the scalability of our solution.

[1]  Sriram Ramabhadran,et al.  A case study in building layered DHT applications , 2005, SIGCOMM '05.

[2]  Karthikeyan Bhargavan,et al.  A Constraint-Based Formalism for Consistency in Replicated Systems , 2004, OPODIS.

[3]  David Lee,et al.  Principles and methods of testing finite state machines-a survey , 1996, Proc. IEEE.

[4]  Chengzheng Sun,et al.  Operational transformation in real-time group editors: issues, algorithms, and achievements , 1998, CSCW '98.

[5]  Antony I. T. Rowstron,et al.  Pastry: Scalable, Decentralized Object Location, and Routing for Large-Scale Peer-to-Peer Systems , 2001, Middleware.

[6]  Joan Manuel Marquès,et al.  Telex: Principled System Support for Write-Sharing in Collaborative Applications , 2008, ArXiv.

[7]  Pascal Molli,et al.  XWiki Concerto: A P2P Wiki System Supporting Disconnected Work , 2008, CDVE.

[8]  Patrick Valduriez,et al.  Data currency in replicated DHTs , 2007, SIGMOD '07.

[9]  Patrick Valduriez,et al.  Principles of Distributed Database Systems , 1990 .

[10]  Patrick Valduriez,et al.  Principles of distributed database systems (2nd ed.) , 1999 .

[11]  Idit Keidar,et al.  Group communication specifications: a comprehensive study , 2001, CSUR.

[12]  Karsten Loesing,et al.  Open Chord version 1.0.4 User's Manual , 2007 .

[13]  Johannes Gehrke,et al.  Guaranteeing correctness and availability in P2P range indices , 2005, SIGMOD '05.

[14]  Patrick Valduriez,et al.  P2P logging and timestamping for reconciliation , 2008, Proc. VLDB Endow..

[15]  Esther Pacitti,et al.  Dynamic and Distributed Reconciliation in P2P-DHT Networks , 2006, Euro-Par.

[16]  David R. Karger,et al.  Chord: A scalable peer-to-peer lookup service for internet applications , 2001, SIGCOMM '01.

[17]  Ben Y. Zhao,et al.  OceanStore: an architecture for global-scale persistent storage , 2000, SIGP.

[18]  Matthias Ressel,et al.  An integrating, transformation-oriented approach to concurrency control and undo in group editors , 1996, CSCW '96.

[19]  Hala Skaf-Molli,et al.  Optimistic Replication for Massive Collaborative Editing , 2005 .

[20]  Jean Ferrié,et al.  Serialization of concurrent operations in a distributed collaborative environment , 1997, GROUP.

[21]  Yasushi Saito,et al.  Optimistic replication , 2005, CSUR.

[22]  Pascal Molli,et al.  VOTE: Group Editors Analyzing Tool: System Description , 2003, Electron. Notes Theor. Comput. Sci..

[23]  Hala Skaf-Molli,et al.  Using the transformational approach to build a safe and generic data synchronizer , 2003, GROUP.