Coder Social home page Coder Social logo

Comments (2)

juliengs avatar juliengs commented on May 23, 2024

Good point! I think we discussed it briefly at the last meeting -- my proposal (in the meanwhile) would be to divide the total system available by n if n code engines are running on the same device (would there be a way for a code engine to detect if other code engines are running on the same device?).

I think this is an OK solution, as logically, in a real deployment, I don't see why we would need to run more than one code engines per device. We do this pretty much only for testing.

from thingsjs.

jungkumseok avatar jungkumseok commented on May 23, 2024

Yes I think we definitely need the ability to determine how many CodeEngines are running on a single device, but I don't know if we should assume or impose restriction that there will be only one CodeEngine running per device. Although in practice a single user would have no reason to run multiple CodeEngines, many cloud/servers are time-shared and there could be multiple users ssh'ing into the same machine and running a CodeEngine per logged-in user. In such cases there will be multiple CodeEngines running on the same machine and the user would not have control over other users taking up resources. So I think we should allow multiple CodeEngines on the same device as long as we can detect how many CodeEngines are sharing resources.

from thingsjs.

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.