Extending JSON CRDTs with Move Operations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Da, Liangrun, Kleppmann, Martin
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913513721561088
author Da, Liangrun
Kleppmann, Martin
author_facet Da, Liangrun
Kleppmann, Martin
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2311_14007
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Extending JSON CRDTs with Move Operations
Da, Liangrun
Kleppmann, Martin
Distributed, Parallel, and Cluster Computing
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.
title Extending JSON CRDTs with Move Operations
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2311.14007