by 8note · 3y ago · 0 comments
I've seen this come up recently, where our queue reader was(well, still is) over scaled, where it could handle 100x the normal queue throughout. When the input rate gets higher though, instead of the queue filling a bit and controlling the traffic, we hammer our dependencies.
I now see a continuously empty queue as a smell. It should be filling and emptying over and over again. Not all the time, but a queue that never fills is a ticking time bomb
* (Mandatory) Have a back-pressure system.
* (Optional, depends on system requirements) have auto-scaling of queue readers.
* (Mandatory) Make sure the system is regularly load tested.