Our friend @kevinGodell has developed the "node-red-contrib-ffmpeg-spawn" node, that I want to start using soon to distribute the high intensive video surveillance work across the cores of my processor.(s)
However when dealing with video, the slightest thing can entirely ruin your performance. So when I use Kevin's node to create child processes, I would like to determine easily:
- How many child processes are currently active.
- How many CPU usage each of those child processes has.
- How many memory usage each of those child processes has.
To assist me with that, the node-red-contrib-process-resources node was born
By using the CPU usage simulation flow on my readme page, I can play with the;
- CPU usage in the main process
- number of worker threads inside the main process
- number of child processes
Which results in something like this:
To test this node, you can install it directly from my Github repository (from within your .node-red folder):
npm install bartbutenaers/node-red-contrib-process-resources
As always, all "constructive" feedback is very welcome!
P.S. This will be my last performance related experiment. Now finally back to video surveillance...