CoChat

A Conflict-Free Replicated JSON Datatype

Kleppmann, Martin, Beresford, Alastair R. · 2017 · IEEE Transactions on Parallel and Distributed Systems
Cited by 80

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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/tpds.2017.2697382

Cites

4 of 4 references verified0 citation errors · 0 not checkable

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.

A few free checks a day · papers already verified open instantly · results are public

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?

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

Show all 4 references

Research works printed but not linked: 34

  1. 10.1145/503209.503233 · doi:10.1145/503209.503233
  2. 10.1145/288235.288261 · doi:10.1145/288235.288261
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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.
  9. 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.
  10. N. Ramsey and E. Csirmaz, "An algebraic approach to file synchronization," in 8th European Software Engineering Conference (ESEC/FSE-9), Sep. 2001.
  11. 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
  12. 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
  13. 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
  14. 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.
  15. 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
  16. 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
  17. 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
  18. 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.
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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.
  33. 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
  34. 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

See all 80

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.