News for hackers. Stuff that matters.
Re:PID Controller for controlling the number of servers in a... by michaelt on Monday July 05, 2021 @06:27AM (#27736373)
Still, the performance of PID is limited if it takes three minutes to spin up a server.

That means either you'd have to run the control loop comparatively slowly (e.g. once every five minutes), or you'd need to have the gain very low, or you'd ave to tolerate a lot of overshoot. None of which will produce great results.

A more sophisticated controller would be able to take into account the fact there are servers currently starting up, and only call for more if those already on the way won't be sufficient.

Re:PID Controller for controlling the number of servers in a... by srean on Monday July 05, 2021 @01:02PM (#27739862)
I agree with your points but this particular point that you mention ...

> A more sophisticated controller would be able to take into

> account the fact there are servers currently starting up,

> and only call for more if those already on the way won't be sufficient.

cant that be modelled into the transfer function characterizing the system. Even linear dynamics are quite capable of modeling sluggish dynamics, so PIDs should be able to handle them fine. If there are strong nonlinearities and the system may start far from a desired set point (to the extent that local linearizations are far too inaccurate) or may venture far out, then yes PID may indeed have trouble.