Code Monkey home page Code Monkey logo

Comments (2)

patriknw avatar patriknw commented on May 26, 2024

The ordering by unique address has nothing to do with leader. It was introduced in an optimization effort in these two commits:
akka/akka@1adfcb8#diff-4
akka/akka@a487edf#diff-0

I'm sure a lot of things can be optimized in the ORSet, including using a tailored version vector and birth dot implementation. That should be done in a systematic way, including using JMH benchmarking to find the best solution.

So far I have not had the time to do so, and so far I have preferred to use existing (tested) Akka VectorClock and algorithms close to the riak_dt_orswot, which was the source of inspiration.

Thanks for the question. I'm leaving the issue open, as an reminder for future optimization work.

from akka-data-replication.

netcomm avatar netcomm commented on May 26, 2024

thanks for the detailed explanation, i will read these issues.To be honest, Akka has more and more complex. the Akka's User DOC is very excellent, but there are lack of Akka inside implements analysis.
search in google, can find very few, Jonas Bonér's write one about akka Cluster Implementation Notes (https://gist.github.com/jboner/7692270), but it is still more top level.
maybe can have some changes, thanks!

from akka-data-replication.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.