News for hackers. Stuff that matters.
Re:A Conflict-Free Replicated JSON Datatype by ianstormtaylor on Wednesday August 17, 2016 @05:28AM (#12303378)
Related: does anyone know any other good resources for architecting and building OT/CRDT for nested data structures like HTML or JSON? Ideally projects with working examples even?
Re:A Conflict-Free Replicated JSON Datatype by nateps on Wednesday August 17, 2016 @12:21PM (#12305825)
Author of ShareDB (https://github.com/share/sharedb) here. ShareDB is a stable production JSON OT system that powers the entire backend for Lever (https://www.lever.co/). All of Lever's apps, backend services, migration scripts, etc. go through ShareDB. It scales horizontally; over 1000 companies use Lever, including companies with 1000s of employees, like Netflix and Yelp.

There are some simple examples in the repo to get you started. Please let us know if you have any questions getting going!

Re:A Conflict-Free Replicated JSON Datatype by clemensnk on Wednesday August 17, 2016 @09:50AM (#12304643)
We do OT on HTML (or rather the DOM) in the Webstrates (http://www.webstrates.net) project. We use ShareJS (now ShareDB) and represent and store the DOM as a JSON document.
Re:A Conflict-Free Replicated JSON Datatype by amelius on Wednesday August 17, 2016 @05:35AM (#12303397)
I'm looking for a good 3-way merge for strings implemented in Javascript.