JavaScript CRDT

Open-source JavaScript projects categorized as CRDT | Edit details

Top 4 JavaScript CRDT Projects

  • GitHub repo gun

    An open source cybersecurity protocol for syncing decentralized graph data.

    Project mention: An open source cybersecurity protocol for syncing decentralized graph data | news.ycombinator.com | 2021-10-01
  • GitHub repo orbit-db

    Peer-to-Peer Databases for the Decentralized Web

    Project mention: IPDB and IPFS Whats's the difference ? | reddit.com/r/ipfs | 2021-10-21

    OrbitDB is in active development, that means that the product is not stable for a real word product. Just for test purpose..

  • Syncfusion

    Syncfusion - See why our products are consistently getting 4.6 out of 5 stars by your peers.. Syncfusion Essential Studio for JavaScript is a modern UI control library built from the ground up to be lightweight, responsive, modular, and touch-friendly.

  • GitHub repo yjs

    Shared data types for building collaborative software

    Project mention: Todos: The Hard Parts | dev.to | 2021-09-15

    But still, frontend development is pretty damn hard! And that makes sense. Web applications can have interfaces as complex as IDEs and data exchange layers as complex as distributed databases.

  • GitHub repo teletype-crdt

    String-wise sequence CRDT powering peer-to-peer collaborative editing in Teletype for Atom.

    Project mention: 5000x Faster CRDTs: An Adventure in Optimization | news.ycombinator.com | 2021-07-31

    Cool! It'd be interesting to see those CRDT implementations added to Kevin Jahns' CRDT Benchmarks page[1]. The LogootSplit paper looks interesting. It looks like xray is abandoned, and I'm not sure about teletype. Though teletype's CRDT looks to be entirely implemented in javascript[2]? If the authors are around I'd love to see some benchmarks so we can compare approaches and learn what actually works well.

    And I'm not surprised these techniques have been invented before. Realising a tree is an appropriate data structure here is a pretty obvious step if you have a mind for data structures.

    To name it, I often find myself feeling defensive when people read my work and respond with a bunch of links to academic papers. Its probably totally unfair and a complete projection from my side, but I hear a voice in my head reword your comment to instead say something awful like: "Cool, but everything you did was done before. Even if they didn't make any of their work practical, usable or good they still published first and you obviously didn't do a good enough literature review if you didn't know that." And I feel an unfair defensiveness arise in me as a result that wants to find excuses to dismiss the work, even if the work might be otherwise interesting.

    Its hard to compare their benchmark results because they used synthetic randomized editing traces, which always have different performance profiles than real edits for this stuff. Their own university gathered some great real world data in an earlier study. It would have been much more instructive if that data set was used here. At a glance their RAM usage looks to be about 2 orders of magnitude worse than diamond-types or yjs. And their CPU usage... ?? I can't tell because they have no tables of results. Just some hard to read charts with log scales, so you can't even really eyeball the figures. So its really hard to tell if their work ends up performance-competitive without spending a couple days getting their enterprise style java code running with a better data set. Do you think thats worth doing?

    [1] https://github.com/dmonad/crdt-benchmarks

    [2] https://github.com/atom/teletype-crdt

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-10-21.

Index

What are some of the best open-source CRDT projects in JavaScript? This list will help you:

Project Stars
1 gun 14,679
2 orbit-db 6,059
3 yjs 5,351
4 teletype-crdt 683
Find remote jobs at our new job board 99remotejobs.com. There are 37 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.