arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.14007cs.DC
收藏

使用移动操作扩展 JSON CRDTs

Extending JSON CRDTs with Move Operations

Liangrun Da, Martin Kleppmann

AI总结:

本文提出一种用于 JSON CRDT 的移动操作算法,解决子树移动与列表重排中的并发冲突问题,避免重复和循环,并通过新颖优化提升性能,计划集成至 Automerge CRDT 库。

摘要:

用于 JSON 的无冲突复制数据类型(CRDTs)允许用户并发更新 JSON 文档,并自动将更新合并为一致状态。在 JSON CRDT 中移动 map 中的子树或重排 list 中的元素具有挑战性:简单的合并算法可能引入重复或循环等意外结果。本文提出了一种 JSON CRDT 中移动操作的算法,处理与并发非移动操作的交互,并使用新颖的优化来提升性能。我们计划将该算法集成到 Automerge CRDT 库中。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑