Automated Load Shedding

Does anyone know of a way to automate load shedding of internal resources to Node-Red? For example, if my CPU usage is increasing, I would like to shed some low priority flows/processes to prevent a catastrophic failure of a process.

I don't believe that this will be currently possible.

However, it would be an interesting use-case to examine for future development I think? Something for post v1.0 though I suspect.

Here is the Linux method how you would achieve it - easy enough to do yourself with an exec node

http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups

Craig