For-Each Operations in Collaborative Apps
Open Access
- 8 May 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 56-62
Abstract
Conflict-free Replicated Data Types (CRDTs) allow collaborative access to an app's data. We describe a novel CRDT operation, for-each on the list of CRDTs, and demonstrate its use in collaborative apps. Our for-each operation applies a given mutation to each element of a list, including elements inserted concurrently. This often preserves user intention in a way that would otherwise require custom CRDT algorithms. We give example applications of our for-each operation to collaborative rich-text, recipe, and slideshow editors.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Composing and decomposing op-based CRDTs with semidirect productsProceedings of the ACM on Programming Languages, 2020
- Conflict-Free Replicated Data Types CRDTs2018
- A Conflict-Free Replicated JSON DatatypeIEEE Transactions on Parallel and Distributed Systems, 2017
- Enhancing rich content wikis with real‐time collaborationConcurrency and Computation: Practice and Experience, 2017
- Specification and Complexity of Collaborative Text Editing2016
- Making Operation-Based CRDTs Operation-Based2014
- Conflict-Free Replicated Data Types2011
- Logoot: A Scalable Optimistic Replication Algorithm for Collaborative Editing on P2P Networks2009
- An integrating, transformation-oriented approach to concurrency control and undo in group editors1996
- Time, clocks, and the ordering of events in a distributed systemCommunications of the ACM, 1978