A queue lets a request hand slow work to workers and return at once, but it only absorbs bursts — if producers stay faster than consumers, something has to give.
An order service publishes 1,500 invoice jobs per second, and 4 workers can finish about 1,000 per second. The queue has no limit. Watch what grows. All numbers are an illustrative model.
Queue depth
0
Oldest message age
0 ms
Rejected/s
0/s
Processed/s
0/s
Publish p95
0 ms
Producer wait
0 ms
Bounded and lossless
At 1,500 jobs/s or more, keep the oldest job under 5 s and reject nothing for 20 seconds.
An order service publishes 1,500 invoice jobs per second, and 4 workers can finish about 1,000 per second. The queue has no limit. Watch what grows. All numbers are an illustrative model.
Illustrative model: rates, queues and latency follow simple queueing rules, not a production benchmark.