[2305.00583] The Art of the Fugue: Minimizing Interleaving in Collaborative Text Editing
Skip to main content
Search arXiv
Press Enter to search · Advanced search
-->
Computer Science > Distributed, Parallel, and Cluster Computing
arXiv:2305.00583 (cs)
[Submitted on 30 Apr 2023 (v1), last revised 21 Oct 2025 (this version, v3)]
Title:The Art of the Fugue: Minimizing Interleaving in Collaborative Text Editing
Authors:Matthew Weidner, Martin Kleppmann<br>View a PDF of the paper titled The Art of the Fugue: Minimizing Interleaving in Collaborative Text Editing, by Matthew Weidner and Martin Kleppmann
View PDF<br>HTML (experimental)
Abstract:Most existing algorithms for replicated lists, which are widely used in collaborative text editors, suffer from a problem: when two users concurrently insert text at the same position in the document, the merged outcome may interleave the inserted text passages, resulting in corrupted and potentially unreadable text. The problem has gone unnoticed for decades, and it affects both CRDTs and Operational Transformation. This paper defines maximal non-interleaving, our new correctness property for replicated lists. We introduce two related CRDT algorithms, Fugue and FugueMax, and prove that FugueMax satisfies maximal non-interleaving. We also implement our algorithms and demonstrate that Fugue offers performance comparable to state-of-the-art CRDT libraries for text editing.
Comments:<br>16 pages, 10 figures
Subjects:
Distributed, Parallel, and Cluster Computing (cs.DC); Data Structures and Algorithms (cs.DS)
Cite as:<br>arXiv:2305.00583 [cs.DC]
(or<br>arXiv:2305.00583v3 [cs.DC] for this version)
https://doi.org/10.48550/arXiv.2305.00583
Focus to learn more
arXiv-issued DOI via DataCite
Journal reference:<br>IEEE Transactions on Parallel and Distributed Systems, vol. 36, no. 11, pp. 2425-2437, Nov. 2025
Related DOI:
https://doi.org/10.1109/TPDS.2025.3611880
Focus to learn more
DOI(s) linking to related resources
Submission history<br>From: Matthew Weidner [view email]<br>[v1]<br>Sun, 30 Apr 2023 21:27:34 UTC (306 KB)
[v2]<br>Fri, 17 Nov 2023 23:35:54 UTC (147 KB)
[v3]<br>Tue, 21 Oct 2025 02:42:30 UTC (356 KB)
Full-text links:<br>Access Paper:
View a PDF of the paper titled The Art of the Fugue: Minimizing Interleaving in Collaborative Text Editing, by Matthew Weidner and Martin Kleppmann<br>View PDF<br>HTML (experimental)<br>TeX Source
view license
Current browse context:
cs.DC
next >
new<br>recent<br>| 2023-05
Change to browse by:
cs<br>cs.DS
References & Citations
NASA ADS<br>Google Scholar
Semantic Scholar
export BibTeX citation<br>Loading...
BibTeX formatted citation
×
loading...
Data provided by:
Bookmark
Bibliographic Tools
Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media
Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Demos
Demos
Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
Spaces Toggle
TXYZ.AI (What is TXYZ.AI?)
Related Papers
Recommenders and Search Tools
Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
Author
Venue
Institution
Topic
About arXivLabs
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs .
Which authors of this paper are endorsers? |<br>Disable MathJax (What is MathJax?)
Major funding support from