ABSTRACT
The use cases for Conflict-free Replicated Data Types (CRDTs) that are studied in the literature are limited to collaborative editing applications and data stores. The communication protocols used to distribute replica updates in these scenarios are usually assumed to be some form of highly scalable gossip protocol. In this paper, a new type of application for CRDTs is introduced and studied: collaborative offline web applications. We demonstrate the feasibility of CRDTs in this scenario, and analyze the trade-offs of three existing communication protocols that can be employed for these applications.
References
- Google Drive. URL: https://www.google.com/drive/Google Scholar
- Microsoft Office Online - Word, Excel, and PowerPoint on the web. URL: https://office.live.com/start/default.aspxGoogle Scholar
- M. Ahmed-Nacer, P. Urso, V. Balegas, and N. Preguiça. Concurrency control and awareness support for multi-synchronous collaborative editing. In 2013 9th International Conference Conference on Collaborative Computing: Networking, Applications and Worksharing (Collaboratecom), pages 148--157.Google Scholar
- Mehdi Ahmed-Nacer, Claudia-Lavinia Ignat, Gérald Oster, Hyun-Gul Roh, and Pascal Urso. Evaluating CRDTs for real-time document editing. In Proceedings of the 11th ACM Symposium on Document Engineering, DocEng '11, page 103112. ACM. 13. Google Scholar
Digital Library
- Paulo Sérgio Almeida and Carlos Baquero. Scalable eventually consistent counters over unreliable networks. 0.Google Scholar
- Paulo Sérgio Almeida, Ali Shoker, and Carlos Baquero. Efficient state-based CRDTs by decomposition. In Proceedings of the First Workshop on Principles and Practice of Eventual Consistency, PaPEC '14, page 3:13:2. ACM. Google Scholar
Digital Library
- Khaled Aslan, Pascal Molli, Hala Skaf-Molli, and Stéphane Weiss. C-set: a commutative replicated data type for semantic stores. 9.Google Scholar
- Annette Bieniusa, Marek Zawirski, Nuno Preguiça, Marc Shapiro, Carlos Baquero, Valter Balegas, and Sérgio Duarte. An optimized conflict-free replicated set.Google Scholar
- Russell Brown, Sean Cribbs, Christopher Meiklejohn, and Sam Elliott. Riak DT map: A composable, convergent replicated dictionary. In Proceedings of the First Workshop on Principles and Practice of Eventual Consistency, PaPEC '14, page 1:11:1. ACM. Google Scholar
Digital Library
- A. Deftu and J. Griebsch. A scalable conflict-free replicated set data type. In 2013 IEEE 33rd International Conference on Distributed Computing Systems (ICDCS), pages 186--195. Google Scholar
Digital Library
- P. Th. Eugster, R. Guerraoui, S. B. Handurukande, P. Kouznetsov, and A.-M. Kermarrec. Lightweight probabilistic broadcast. ACM Trans. Comput. Syst., 21(4): 341--374. Google Scholar
Digital Library
- Dean Jacobs. Enterprise software as service. Queue, 3(6): 3642. Google Scholar
Digital Library
- Eng Keong Lua, J. Crowcroft, M. Pias, R. Sharma, and S. Lim. A survey and comparison of peer-to-peer overlay network schemes. IEEE Communications Surveys Tutorials, 7(2): 72--93. 1287. Google Scholar
Digital Library
- S. Martin, M. Ahmed-Nacer, and P. Urso. Controlled conflict resolution for replicated document. In 2012 8th International Conference on Collaborative Computing: Networking, Applications and Worksharing (CollaborateCom), pages 471--480. Google Scholar
Digital Library
- Ahmed-Nacer Mehdi, Pascal Urso, Valter Balegas, and Nuno Preguiça. Merging OT and CRDT algorithms. In Proceedings of the First Workshop on Principles and Practice of Eventual Consistency, PaPEC '14, page 9:19:4. ACM. Google Scholar
Digital Library
- David Mosberger. Memory consistency models. 27(1): 18--26. Google Scholar
Digital Library
- Brice Nédelec, Pascal Molli, Achour Mostefaoui, and Emmanuel Desmontils. Concurrency effects over variable-size identifiers in distributed collaborative editing. In Proceedings of the International workshop on Document Changes: Modeling, Detection, Storage and Visualization, Florence, Italy, September 10, 2013, volume 1008, pages 0--7.Google Scholar
- Gérald Oster, Pascal Urso, Pascal Molli, and Abdessamad Imine. Data consistency for p2p collaborative editing. In Proceedings of the 2006 20th Anniversary Conference on Computer Supported Cooperative Work, CSCW '06, pages 259--268. ACM. 128. Google Scholar
Digital Library
- N. Preguiça, J. M. Marques, M. Shapiro, and M. Letia. A commutative replicated data type for cooperative editing. In 29th IEEE International Conference on Distributed Computing Systems, 2009. ICDCS '09, pages 395--403. 18. Google Scholar
Digital Library
- Marc Shapiro, Nuno Preguiça, Carlos Baquero, and Marek Zawirski. Conflict-free replicated data types. In Xavier Dfago, Franck Petit, and Vincent Villain, editors, Stabilization, Safety, and Security of Distributed Systems, number 6976 in Lecture Notes in Computer Science, pages 386--400. Springer Berlin Heidelberg. 58. Google Scholar
Digital Library
- Marc Shapiro, Nuno Preguiça, Carlos Baquero, and Marek Zawirski. A comprehensive study of convergent and commutative replicated data types. January 2011. 50.Google Scholar
- Spyros Voulgaris, Márk Jelasity, and Maarten van Steen. A robust and scalable peer-to-peer gossiping protocol. In Gianluca Moro, Claudio Sartori, and Munindar P. Singh, editors, Agents and Peer-to-Peer Computing, number 2872 in Lecture Notes in Computer Science, pages 47--58. Springer Berlin Heidelberg. Google Scholar
Digital Library
- S. Weiss, P. Urso, and P. Molli. Logoot-undo: Distributed collaborative editing system on p2p networks. IEEE Transactions on Parallel and Distributed Systems, 21(8): 1162--1174. Google Scholar
Digital Library
- H. Zarzour, T. Abid, and M. Sellami. Conflict-free collaborative decision-making over mind-mapping. In 2014 Fourth International Conference on Advanced Computing Communication Technologies (ACCT), pages 509--515. Google Scholar
Digital Library
Index Terms
Collaborative offline web applications using conflict-free replicated data types



Comments