Comments (1)
Yes, I agree that this can be a problem if the consistency of the graph is important. It's hard to predict how much of a problem it is in reality though. The time window for inconsistencies to occur is extremely small, since the operations are supposed to be sent and executed all at the same time in parallel (I'm unsure if they are right now though).
Self healing might be a possible solution. But it might conflict somewhat with the stated goal of Related to provide reliable and consistent low latency performance though.
Another possible solution could be to instead repair the graph in a completely separate background job. That wouldn't affect the request latency and wouldn't add any extra complexity to the core of Related, since the code for that can be kept completely separate (like a script in a contrib/ folder for example).
I imagine a ./contrib/repair
script that walks the graph and repairs any inconsistencies that it finds. It can be run as a simple cron job for example.
from related.
Related Issues (12)
- Allow multiple storage backends for Node data
- Sharding
- Related::Affinity module
- EventMachine support
- Use breath first instead of depth first in #path_to HOT 1
- Bi-directional Node::Relationship for tags? HOT 2
- related/follower incompatible with devise HOT 1
- How could I destroy Relationship? HOT 1
- License missing from gemspec HOT 2
- per_page does not work properly without specifying page
- DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. HOT 1
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 related.