Found in 5 comments on Hacker News
This subject can hardly be discussed in a comprehensive way on a board like this. It also depends on what tools you have available to you - some cloud tools make this easier than building your own.

There's a great book that covers this in great detail - Feedback Control for Computer Systems: https://www.oreilly.com/library/view/feedback-control-for/97.... I've implemented many of the tactics here with great success.

This book was a great exercise in understanding some of these concepts: https://www.oreilly.com/library/view/feedback-control-for/97...
carapace · 2020-04-02 · Original thread
I can recommend also "Feedback Control for Computer Systems, Introducing Control Theory to Enterprise Programmers" by Philipp Janert http://shop.oreilly.com/product/0636920028970.do
carapace · 2018-07-26 · Original thread
It's an excellent book for folks who haven't been exposed to this stuff [1] before, but it could be called "Cybernetics for Dummies" (I don't mean that in a bad way!)

I can recommend "Feedback Control for Computer Systems" by Philipp Janert [2], but the real underlying treasure is understanding Cybernetics. For that, try "Introduction to Cybernetics" by W. Ross Ashby [3].

[1] https://en.wikipedia.org/wiki/Control_theory

[2] http://shop.oreilly.com/product/0636920028970.do

[3] PDF available from http://pespmc1.vub.ac.be/ASHBBOOK.html