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.
Every sign-up sends a welcome email through an outside email provider, and the sign-up waits for the provider to answer. 40 people sign up per second; the app server has 60 request threads. All numbers are an illustrative model.
Swipe the diagram sideways to see every tier →
Sign-up p95
0 ms
Failed sign-ups
0%
Queue depth
0
Oldest message age
0 ms
Emails sent/s
0/s
Threads busy
0%
Every sign-up sends a welcome email through an outside email provider, and the sign-up waits for the provider to answer. 40 people sign up per second; the app server has 60 request threads. All numbers are an illustrative model.
Illustrative model: rates, queues and latency follow simple queueing rules, not a production benchmark.