4 ms·
> Similarly, other applications I built so far all also run under five euro VMs. There's no denying you might need more because you have serious peaks in traffi
by makerdiety 3y ago
> Similarly, other applications I built so far all also run under five euro VMs. There's no denying you might need more because you have serious peaks in traffic that you cannot handle with only one server, but do the accounting.
A simple proportional-integral-derivative controller equipped onto your server resource can help you see if future traffic spikes are occurring. The question is, what kind of person is able to have that kind of perception ability and is willing to integrate that into his daily life? Not the average software developer, we can definitely say with great confidence.
- evrimoztamur 3y agoI'm partial to forecasting volatility via GARCH models as well!
- polishdude20 3y agoWait what would a PID controller do? What would it be controlling?
- makerdiety 3y agoYou're supposed to be repurposing the controller into a reporter. Since you don't need control, you can instead just use the PID portion of the PID controller. But you can also attach an actual automatic control for when the sensor reports a positive traffic influx prediction value. And I think stuff like Kubernetes includes this feature. Go figure.
- polishdude20 3y agoWhat value does the reporter report? Isn't it just a measurement? In which case you don't need a PID?
- makerdiety 3y agoIt's a sensor that informs its users of it how much control is needed for a networked server that can experience volatility in the form of network traffic spikes. The numerical calculus from PID controllers helps provide that crucial information. A bang-bang controller would, for example, provide very sub-optimal control, as volatility doesn't work under simple on-and-off models.