A Conflict-Free Replicated JSON Datatype
The DOI matches its Crossref record; 4 of the 4 references it cites were found in a registry or an index.
Abstract
Many applications model their data in a general-purpose storage format such as JSON. This data structure is modified by the application as a result of user input. Such modifications are well understood if performed sequentially on a single copy of the data, but if the data is replicated and modified concurrently on multiple devices, it is unclear what the semantics should be. In this paper we present an algorithm and formal semantics for a JSON data structure that automatically resolves concurrent modifications such that no updates are lost, and such that all replicas converge towards the same state (a conflict-free replicated datatype or CRDT). It supports arbitrarily nested list and map types, which can be modified by insertion, deletion and assignment. The algorithm performs all merging client-side and does not depend on ordering guarantees from the network, making it suitable for deployment on mobile devices with poor network connectivity, in peer-to-peer networks, and in messaging systems with end-to-end encryption.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“An op-based sequence CRDT[Shapiro et al., 2011, Roh et al., 2011, Kleppmann and Beresford, 2017] underlies the substrate, stamping edits with Lamport timestamps [Lamport, 1978] and satisfying strong eventual consistency (SEC); SEC eliminates data loss under concurrent edits but is a property over byte-level merge, not semantic compatibility: two agents inserting incompatible function signatures at”
From AgentRoom: Concurrent Multi-Agent Coding in a CRDT-Backed Shared Workspace (2026) · cites this paper as Kleppmann and Beresford, 2017
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Time, clocks, and the ordering of events in a distributed system
Lamport, L. (1978) · Communications of the ACM · doi:10.1145/359545.359563 · Cited by 8,488 · cited 1×
“without requiring synchronous coordination between replicas we use Lamport timestamps [42].”
Method(2007) · doi:10.1145/1294261.1294281 · Cited by 3,447 · cited 3×
“Naively chosen merge functions often exhibit anomalies such as deleted items reappearing [37].”
BackgroundInfluentialConcurrency control in groupware systems
Ellis, C. A., & Gibbs, S. J. (1989) · ACM SIGMOD Record · doi:10.1145/66926.66963 · Cited by 873
Conflict-Free Replicated Data Types
Shapiro, M., Preguiça, N., Baquero, C., & Zawirski, M. (2011) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-24550-3_29 · Cited by 736
Research works printed but not linked: 34
- 10.1145/503209.503233 · doi:10.1145/503209.503233
- 10.1145/288235.288261 · doi:10.1145/288235.288261
- P. S. Almeida, A. Shoker, and C. Baquero, "Delta state replicated data types," arXiv:1603.01529 [cs.DC], Mar. 2016. [Online]. Available: http://arxiv.org/abs/1603.01529 · arXiv
- C. Baquero, P. S. Almeida, and C. Lerche, "The problem with embedded CRDT counters and a solution," in 2nd Workshop on the Principles and Practice of Consistency for Distributed Data (PaPoC), Apr. 2016. · DOI
- H. Attiya, S. Burckhardt, A. Gotsman, A. Morrison, H. Yang, and M. Zawirski, "Specification and complexity of collaborative text editing," in ACM Symposium on Principles of Distributed Computing (PODC), Jul. 2016, pp. 259-268. · DOI
- B. Nédelec, P. Molli, A. Mostefaoui, and E. Desmontils, "LSEQ: an adaptive structure for sequences in distributed collaborative edit- ing," in 13th ACM Symposium on Document Engineering (DocEng), Sep. 2013, pp. 37-46. · DOI
- S. Martin, P. Urso, and S. Weiss, "Scalable XML collaborative editing with undo," in On the Move to Meaningful Internet Systems, Oct. 2010, pp. 507-514. · DOI
- G. DeCandia, D. Hastorun, M. Jampani, G. Kakulapati, A. Laksh- man, A. Pilchin, S. Sivasubramanian, P. Vosshall, and W. Vogels, "Dynamo: Amazon's highly available key-value store," in 21st ACM Symposium on Operating Systems Principles (SOSP), Oct. 2007, pp. 205-220.
- S. Balasubramaniam and B. C. Pierce, "What is a file synchro- nizer?" in 4th Annual ACM/IEEE International Conference on Mobile Computing and Networking (MobiCom), Oct. 1998, pp. 98-108.
- N. Ramsey and E. Csirmaz, "An algebraic approach to file synchronization," in 8th European Software Engineering Conference (ESEC/FSE-9), Sep. 2001.
- S. Burckhardt, M. Fähndrich, D. Leijen, and B. P. Wood, "Cloud types for eventual consistency," in 26th European Conference on Object-Oriented Programming (ECOOP), Jun. 2012. · DOI
- C.-L. Ignat and M. C. Norrie, "Customizable collaborative editor relying on treeOPT algorithm," in 8th European Conference on Computer-Supported Cooperative Work (ECSCW), Sep. 2003, pp. 315- 334. · DOI
- D. B. Terry, M. M. Theimer, K. Petersen, A. J. Demers, M. J. Spreitzer, and C. H. Hauser, "Managing update conflicts in Bayou, a weakly connected replicated storage system," in 15th ACM Symposium on Operating Systems Principles (SOSP), Dec. 1995, pp. 172-182. · DOI · Paper page
- D. Li and R. Li, "A performance study of group editing algo- rithms," in 12th International Conference on Parallel and Distributed Systems (ICPADS), Jul. 2006, pp. 300-307.
- M. Ahmed-Nacer, C.-L. Ignat, G. Oster, H.-G. Roh, and P. Urso, "Evaluating CRDTs for real-time document editing," in 11th ACM Symposium on Document Engineering (DocEng), Sep. 2011, pp. 103- 112. · DOI
- A. Imine, P. Molli, G. Oster, and M. Rusinowitch, "Proving cor- rectness of transformation functions in real-time groupware," in 8th European Conference on Computer-Supported Cooperative Work (ECSCW), Sep. 2003, pp. 277-293. · DOI
- X. Défago, A. Schiper, and P. Urbán, "Total order broadcast and multicast algorithms: Taxonomy and survey," ACM Computing Surveys, vol. 36, no. 4, pp. 372-421, Dec. 2004. · DOI · Paper page
- N. Preguic ¸a, J. Manuel Marquès, M. Shapiro, and M. Letia, "A commutative replicated data type for cooperative editing," in 29th IEEE International Conference on Distributed Computing Systems (ICDCS), Jun. 2009.
- A. Bieniusa, M. Zawirski, N. Preguic ¸a, M. Shapiro, C. Baquero, V. Balegas, and S. Duarte, "Brief announcement: Semantics of eventually consistent replicated sets," in 26th International Sym- posium on Distributed Computing (DISC), Oct. 2012. · DOI
- H.-G. Roh, M. Jeon, J.-S. Kim, and J. Lee, "Replicated abstract data types: Building blocks for collaborative applications," Journal of Parallel and Distributed Computing, vol. 71, no. 3, pp. 354-368, 2011. · DOI
- M. Ressel, D. Nitsche-Ruhland, and R. Gunzenhäuer, "An integrat- ing, transformation-oriented approach to concurrency control and undo in group editors," in ACM Conference on Computer Supported Cooperative Work (CSCW), Nov. 1996, pp. 288-297. · DOI · Paper page
- S. Weiss, P. Urso, and P. Molli, "Logoot-Undo: Distributed col- laborative editing system on P2P networks," IEEE Transactions on Parallel and Distributed Systems, vol. 21, no. 8, pp. 1162-1174, Jan. 2010. · DOI
- D. A. Nichols, P. Curtis, M. Dixon, and J. Lamping, "High-latency, low-bandwidth windowing in the Jupiter collaboration system," in 8th Annual ACM Symposium on User Interface Software and Technology (UIST), Nov. 1995, pp. 111-120. · DOI · Paper page
- C. Sun and C. Ellis, "Operational transformation in real-time group editors: Issues, algorithms, and achievements," in ACM Conference on Computer Supported Cooperative Work (CSCW), Nov. 1998, pp. 59-68. · DOI · Paper page
- N. Unger, S. Dechand, J. Bonneau, S. Fahl, H. Perl, I. Goldberg, and M. Smith, "SoK: Secure messaging," in 36th IEEE Symposium on Security and Privacy, May 2015. · DOI · Paper page
- A. H. Davis, C. Sun, and J. Lu, "Generalizing operational trans- formation to the Standard General Markup Language," in ACM Conference on Computer Supported Cooperative Work (CSCW), Nov. 2002, pp. 58-67. · DOI
- S. B. Davidson, H. Garcia-Molina, and D. Skeen, "Consistency in partitioned networks," ACM Computing Surveys, vol. 17, no. 3, pp. 341-370, Sep. 1985. · DOI · Paper page
- T. D. Chandra and S. Toueg, "Unreliable failure detectors for reliable distributed systems," Journal of the ACM, vol. 43, no. 2, pp. 225-267, Mar. 1996. · DOI · Paper page
- H. Attiya, F. Ellen, and A. Morrison, "Limitations of highly- available eventually-consistent data stores," in ACM Symposium on Principles of Distributed Computing (PODC), Jul. 2015. · DOI
- R. Brown, S. Cribbs, C. Meiklejohn, and S. Elliott, "Riak DT map: a composable, convergent replicated dictionary," in 1st Workshop on Principles and Practice of Eventual Consistency (PaPEC), Apr. 2014. · DOI
- P. Bailis, A. Fekete, M. J. Franklin, A. Ghodsi, J. M. Hellerstein, and I. Stoica, "Coordination avoidance in database systems," Proceedings of the VLDB Endowment, vol. 8, no. 3, pp. 185-196, Nov. 2014. · DOI · Paper page
- N. Preguic ¸a, C. Baquero, P. S. Almeida, V. Fonte, and R. Gonc ¸alves, "Brief announcement: Efficient causality tracking in distributed storage systems with dotted version vectors," in 31st ACM Sympo- sium on Principles of Distributed Computing (PODC), Jul. 2012.
- G. Oster, P. Urso, P. Molli, and A. Imine, "Data consistency for P2P collaborative editing," in ACM Conference on Computer Supported Cooperative Work (CSCW), Nov. 2006. · DOI · Paper page
- D. S. Parker, Jr, G. J. Popek, G. Rudisin, A. Stoughton, B. J. Walker, E. Walton, J. M. Chow, D. Edwards, S. Kiser, and C. Kline, "Detection of mutual inconsistency in distributed systems," IEEE Transactions on Software Engineering, vol. SE-9, no. 3, pp. 240-247, May 1983. · DOI
Cited by
Local-first software: you own your data, in spite of the cloud
Kleppmann, M., Wiggins, A., van Hardenberg, P., & McGranaghan, M. (2019) · Proceedings of the 2019 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software · doi:10.1145/3359591.3359737 · Cited by 112
Self-citationAgentRoom: Concurrent Multi-Agent Coding in a CRDT-Backed Shared Workspace
Cho, S., & Lee, D. (2026) · arXiv · doi:10.48550/arxiv.2608.23740 · Cited by 2
“An op-based sequence CRDT [Shapiro et al., 2011, Roh et al., 2011, Kleppmann and Beresford, 2017] underlies the substrate, stamping edits with Lamport timestamps [Lamport, 1978] and satisfying strong eventual consistency (SEC); SEC eliminates data loss under concurrent edits but is a property over…”
Metadata
- Authors
- Kleppmann, M., & Beresford, A. R.
- Venue
- IEEE Transactions on Parallel and Distributed Systems
- Published
- 2017-10-01
- Volume
- 28
- Issue
- 10
- Pages
- 2733-2746
- ISSN
- 1045-9219
- Cited by
- 80
- References
- 4
- Funders
- The Boeing Company
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: A Conflict-Free Replicated JSON Datatype. https://app.cochat.ai/papers/10.1109/tpds.2017.2697382
- The paper
- Kleppmann, M., & Beresford, A. R. (2017). A Conflict-Free Replicated JSON Datatype. IEEE Transactions on Parallel and Distributed Systems. https://doi.org/10.1109/tpds.2017.2697382
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.