At peak, about 63 generations run at once
At 11.6 calls a second, each call holds a generation slot for about 5.45 seconds. That's 0.45 seconds of prefill, the model reading the prompt, plus 300 tokens at 60 a second.
Little's law, in flight = arrival rate × time each one stays, puts about 63 generations in flight. With 80 slots, that's 79% utilization. From there p99 climbs steeply, for the queueing reasons in the design method lesson. Push the widget's load past 1.0 to see it.
- Served per second
- 11.7
- p50
- 3.8 s
- p99
- 25 s
- Waiting, on average
- 0.1
Decide in advance what happens when the pool saturates. Fall back to showing the top three retrieved sections with no generated steps. A list of cited sections in a few hundred milliseconds beats a spinner.
In the editor, write in_flight(rate, prefill_s, tokens, tokens_per_s), Little's law for the pool of generation slots, and utilization(in_flight, slots).