Code Monkey home page Code Monkey logo

Comments (5)

gfcittolin avatar gfcittolin commented on May 29, 2024 1

I'm closing this for now. Please let me know if you have any other issues regarding the node

from node-red-contrib-s7.

gfcittolin avatar gfcittolin commented on May 29, 2024

How many variables are you trying to read, and what kind of hardware you are running on?

from node-red-contrib-s7.

KarlSayle avatar KarlSayle commented on May 29, 2024

Hi, its around 2000 and NodeRed is currently running on an IOT2040. Just want to point out, it was never orignally the plan to have to pull out so many variables! Thanks.

from node-red-contrib-s7.

gfcittolin avatar gfcittolin commented on May 29, 2024

Oh. Maybe it's a bit too much for the hardware. As far as I know, the CPU used on IOT2000 lacks the performance bits needed to run javascript with decent performance. A colleague of mine tried to read less than half of this using Node-RED on top of IOT2000 and had also performance issues.

A possible improvement would be to put all your variables inside a single DB, and read from there. The read of contiguous memory areas are optimized and may improve the performance there. Other than this, I can't think on anything else that would make some difference. If you decrease the amount of variables, does it work normally?

P.S.: We have applications at this scale, but running on our hardware, ST-One. It's a more powerful box running Node-RED out of the box.

from node-red-contrib-s7.

KarlSayle avatar KarlSayle commented on May 29, 2024

Thanks for the feedback. The ST-One looks like a nice unit! Ill keep that in mind for next time.
Ill try cutting back on the variables and see what effect it has.
Thanks again.

from node-red-contrib-s7.

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.