I have almost 40 apps installed, and I have set adequate memory limits for each app, and also each app gets a maximum of 90 % of CPU share assigned, so that when they are temporary under load, they can use the resources the server provides anyway without blocking the server permanently.
I have noticed that the new app's default setting is 100 %, is this really wise considering that a DDOS attach on that specific app would take down the whole server?
And beyond that, in my current setup, it would help me to define one app that takes priority if the server is under load and several apps fight for resources.
Background: Essentially, I have one user-facing app and whenever it needs more resources, even for a few seconds, it shall get them. But most of the time, it wouldn't need it, so I have other things that could benefit from the resources, essentially long-running processes.
So, my goal is to distribute resources between apps in the most efficient way.