distributed-counters

Experiments with distributed counters (by nicolasff)

Distributed-counters Alternatives

Similar projects and alternatives to distributed-counters

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better distributed-counters alternative or higher similarity.

distributed-counters reviews and mentions

Posts with mentions or reviews of distributed-counters. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-01.
  • Downsides of Offline First
    7 projects | news.ycombinator.com | 1 Oct 2021
    I was also a "true believer" in CRDTs for a long time, implementing my first ones in Erlang about 9 years ago[1], but my opinion of where they fit has changed significantly.

    The one issue with CRDT that I find is rarely mentioned and often ignored is the case where you've deployed these data structures that include merge logic to a set of participating nodes that you can't necessarily update at will. Think phones that people don't update, or IOT/sensor devices like electric meters or other devices "in the wild".

    When you include merge logic – really any code or rules that dictate what happens when the the data of 2 or more CRDTs are merged – and you have bugs in this code running on devices you can never update, this can be a huge mess. Sure you can implement simple counters easily (like the ones I linked to), and you can even use model checking to validate them. But what about complex tree logic like for edits made to a document? Conflict resolution logic? Distributed file system operations? These are already very complex and hard to get right without multiple versions involved and unfixable bugs causing mayhem.

    Having to deal with these bugs in the context of a fleet of participants on a wide range of versions of the code, the combinatorial explosion of the number of possible interactions and effects of these differing versions and bugs taken together can really become impossible to manage.

    I'd be interested to hear from folks who have experience with these kinds of issues and how they have dealt with them, especially if they are still convinced that CRDTs were the right choice.

    [1] https://github.com/nicolasff/distributed-counters

Stats

Basic distributed-counters repo stats
1
6
10.0
almost 11 years ago

The primary programming language of distributed-counters is Erlang.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com