statebox_riak VS jdd

Compare statebox_riak vs jdd and see what are their differences.

statebox_riak

Convenience library that makes it easier to use statebox with riak, extracted from best practices in our production code at Mochi Media. (by mochi)

jdd

A semantic JSON compare tool (by zgrossbart)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
statebox_riak jdd
1 2
48 967
- -
10.0 6.9
over 10 years ago 13 days ago
Erlang JavaScript
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

statebox_riak

Posts with mentions or reviews of statebox_riak. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-05.
  • You might not need a CRDT
    9 projects | news.ycombinator.com | 5 Dec 2022
    This is a cool approach. It reminds me of statebox by mochimedia: https://github.com/mochi/statebox_riak.

    If I'm understanding correctly, it requires the mutations to be deterministic in order for the nodes to converge.

    Replicache (replicache.dev - my thing) takes a similar approach except it does not requires the mutations to be deterministic, which is very useful because it enables, e.g., authenticated operations on the server.

    Both the idea here and Replicache's approach are closely related to game networking. If you are interested in these ideas, a really excellent set of content is: https://www.gabrielgambetta.com/client-server-game-architect....

jdd

Posts with mentions or reviews of jdd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-05.
  • Translation of a JSON file
    1 project | /r/AskProgramming | 9 Dec 2023
    Without, try something like https://www.jsondiff.com/ - it should recognize the keys and point out differences visually.
  • You might not need a CRDT
    9 projects | news.ycombinator.com | 5 Dec 2022
    > What's difficult is to ensure that the converged state is renderable as richtext. For example, is there a table cell that was inserted where a column was deleted?

    Yes. This is one of the fundamental limitations of working at a textual level, which is sort of the local optimum that *nix ended up in. JSON particular gets suuuuper fucked up if you don't merge/rebase carefully. There's no real syntax for it to grab onto and diff doesn't understand the concept of indentation or commas, so it just turns into an ocean of line-swapping and incorrect block-swapping. Diff also does an excruciatingly poor job in the very common case when everyone is appending to the same area (let's say, the end of the file).

    This is pretty much just an inherent weakness of textual matching, what you need is to work on trees of lexical token nodes, or some type of object structure stream like powershell.

    In some cases patience-diff can help, it tries to generate big blocks of changed ranges, hopefully some of the hunks being syntactically well-formed commits. There is also JSON-diff which implements such a lexical-tree diff model for diff files, similar to the "jq" util. I think that's also viable for other lexable languages too.

    https://github.com/zgrossbart/jdd

What are some alternatives?

When comparing statebox_riak and jdd you can also consider the following projects:

plane - A distributed system for running WebSocket services at scale.

pigeon - Diff, patch, merge, and synchronize JSON documents with an Automerge-compatible interface

peritext - A CRDT for asynchronous rich-text collaboration, where authors can work independently and then merge their changes.

aper - A Rust data structure library built on state machines.

diamond-types - The world's fastest CRDT. WIP.

automerge-perf - Performance tests for Automerge