Queues
A queue decouples producers from consumers and absorbs bursts. Track message age and backlog, not only depth; arrival rate exceeding processing capacity produces growing delay. A producer adds 120 jobs/minute and consumers finish 100. Backlog grows by 20/minute; oldest-message age tells you whether customer delay is becoming unacceptable despite a seemingly small queue.
A producer adds 120 jobs/minute and consumers finish 100. Backlog grows by 20/minute; oldest-message age tells you whether customer delay is becoming unacceptable despite a seemingly small queue.
An arrival rate counts produced messages; a service rate counts completed messages; backlog age measures waiting time. Imagine a queue briefly fills during a scheduled import but drains before the promised processing deadline. Depth alone might suggest an incident, while age and completion rate show the buffer is doing its job. Conversely, a small queue of stuck old items can harm users despite low depth. Track inflow, outflow and oldest-item age together, and include the work duration distribution. A queue decouples timing but does not create unlimited processing capacity. Longer buffering smooths bursts at the expense of latency and expired work. Define a processing deadline and scaling or rejection decision around the user contract rather than choosing a depth threshold with no workload context.
Backlog grows by 20/minute; oldest-message age tells you whether customer delay is becoming unacceptable despite a seemingly small queue.
Queue depth alone reveals how long the oldest message has waited.