arXiv · 2311.14007
Extending JSON CRDTs with Move Operations
Abstract
Conflict-Free Replicated Data Types (CRDTs) for JSON allow users to concurrently update a JSON document and automatically merge the updates into a consistent state. Moving a subtree in a map or reordering elements in a list within a JSON CRDT is challenging: naive merge algorithms may introduce unexpected results such as duplicates or cycles. In this paper, we introduce an algorithm for move operations in a JSON CRDT that handles the interaction with concurrent non-move operations, and uses novel optimisations to improve performance. We plan to integrate this algorithm into the Automerge CRDT library.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Liangrun Da, Martin Kleppmann. 2023-11-23. Extending JSON CRDTs with Move Operations. https://doi.org/10.1145/3642976.3653030
Cite the original work for its findings. Save a collection to share your selection of sources.