Comments (2)
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.
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)
- Rename private method isOtherOutdated to isOtherDifferent HOT 3
- Early preview status HOT 7
- Retrieve current state when starting subscription
- Switch to sbt/sbt-protobuf plugin HOT 1
- Quorum should work for 2 nodes (and all even numbers) HOT 3
- Add another convenience constructor for Update HOT 1
- sbt cannot download from dl.bintray.com/patriknw/maven HOT 5
- Remove defaults for ReadConsistency and WriteConsistency HOT 1
- Clarify that UpdateFailure doesn't mean that the update failed
- Point out the risk of WriteOne HOT 1
- Abort Update if specified readConsistency fails
- ModifyException should carry the original exception
- Guidelines HOT 3
- State partitioning HOT 3
- Strange merge after ORMap[ORSet] put
- Add ORMultiMap HOT 1
- Rename the replicated data types HOT 9
- Message to flush changes immediately HOT 8
- don't work with akka 2.4-m1 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akka-data-replication.