arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2002.09511cs.DS
收藏

Chronofold:一种版本化文本的数据结构

Chronofold: a data structure for versioned text

Victor Grishchenko, Mikhail Patrakeev

摘要:

Chronofold是用于版本化文本的复制数据结构。它被设计用于协作编辑器和版本控制系统。过去这类模型要么将局部线性订单改造为分布式系统(OT方法),要么局部采用分布式数据模型(CRDT方法)。这要么造成分布式环境的极端脆弱性,要么造成本地使用的惊人开销。总的来说,局部/分布阻抗不匹配是认知上的负担,并导致许多复杂性。我们通过在每个副本本地使用主观线性订单来解决这个问题,而副本间通信使用分布式模型。独立的转换层将本地数据结构与分布式环境隔离开来。我们修改Lamport时间戳方案,使翻译尽可能简单。我们相信我们的方法在协作编辑领域之外还有应用。

英文摘要:

Chronofold is a replicated data structure for versioned text. It is designed for use in collaborative editors and revision control systems. Past models of this kind either retrofitted local linear orders to a distributed system (the OT approach) or employed distributed data models locally (the CRDT approach). That caused either extreme fragility in a distributed setting or egregious overheads in local use. Overall, that local/distributed impedance mismatch is cognitively taxing and causes lots of complexity. We solve that by using subjective linear orders locally at each replica, while inter-replica communication uses a distributed model. A separate translation layer insulates local data structures from the distributed environment. We modify the Lamport timestamping scheme to make that translation as trivial as possible. We believe our approach has applications beyond the domain of collaborative editing.

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

↑