What is the difference between a burst and sustained overload, and which one can a queue absorb?
Sketch your own answer first, then compare it with the one below.
A strong answer
A burst is a short stretch where messages arrive faster than the consumers can handle them, but the long-run average is below capacity. The queue grows during the burst and drains afterwards.
Sustained overload means the average arrival rate is above what the consumers can do. There is no quiet time to catch up, so the queue fills and stays full whatever its size.
A queue absorbs bursts. Sustained overload needs more consumers, less work, or load shedding. A bigger buffer only delays the moment the queue fills.
Sources
- Mor Harchol-Balter (2013). Performance Modeling and Design of Computer Systems.
- Martin Kleppmann (2017). Designing Data-Intensive Applications.