English

Chronofold: a data structure for versioned text

Data Structures and Algorithms 2020-04-27 v4

Abstract

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.

Keywords

Cite

@article{arxiv.2002.09511,
  title  = {Chronofold: a data structure for versioned text},
  author = {Victor Grishchenko and Mikhail Patrakeev},
  journal= {arXiv preprint arXiv:2002.09511},
  year   = {2020}
}
R2 v1 2026-06-23T13:49:53.138Z