Git Product home page Git Product logo

Comments (1)

niho avatar niho commented on July 4, 2024

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)

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.