Code Monkey home page Code Monkey logo

Comments (1)

namgk avatar namgk commented on May 30, 2024

Hi there,

Thanks for your interest. Your observation is right. It is an interesting and known limitation on the constraint definition where you cannot have an excluding constraint. I suppose adding something like "run this node on device other than X" will be something in my todo list.

The main reason behind this is when a node doesn't have a constraint, it will be deployed and available on every participating NR instances. Consequently, when the inject node realizes that there is an exec node (it's peer) that can run in the same device as its own, it won't send a message out to other devices.

At the current situation, there is a hack to make this happen I guess. This is by using the location requirement, essentially we want all the nodes to have a constraint. So you pretending to have 3 NR instances in 3 different locations, let say the inject node is constrained to run in Vancouver, the exec to run in Seattle and the debug to run in SanFran (could be the same as Vancouver). You can do this with location-based node requirement.

Then you configure your NR instances so that one located in Vancouver, the ones that needs to run the exec node to be located in Seattle, and the one who run the debug node to be in SanFran. You can do this by configuring the Dnr Daemon node and checking the Location Fixed checkbox.

You could try this and let me know.

from dnr-editor.

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.