Payment pool capacity during a retry storm
A payments gateway receives 800 original requests per second. At 1.25 attempts per request and 160 ms of p95 residency, 160 available slots are fully occupied.
Jump to resultsInputs
Results
Runs in your browser- In flight at p95 duration
- 160requests
- Pool utilization at p95
- 100%
- Original traffic at saturation
- 800req/s
Modeled p95 demand reaches or exceeds pool capacity. A steady queue is unlikely.
| Effective arrival rate | 1,000 req/s |
|---|---|
| In flight at p50 duration | 65 requests |
| In flight at p99 duration | 430 requests |
| Slots at 80% target | 200 slots |
| Unused p95 pool share | 0 % |
| Illustrative queue multiplier | — |
What to try
At this measured duration, 200 slots would target 80% utilization. Lower retry amplification first if the upstream team cannot absorb increased concurrency.
How the estimate works
In-flight requests L = arrival rate λ × time in system W
The effective arrival rate includes retries. The three concurrency values are separate what-if calculations that use p50, p95, and p99 as fixed durations. Little’s Law itself connects steady-state averages, so these estimates have no concurrency percentile guarantee.
Pool utilization uses the p95 planning duration. The saturation ceiling is the original request rate that would keep every slot occupied at that fixed duration. Slots needed at a target utilization are rounded up.
The curve is a normalized M/M/1 illustration, 1 ÷ (1 − utilization). Real multi-worker queues, burstiness, and load-dependent latency can shift the knee. The curve clamps the vertical scale at 10× for readability.
Frequently asked questions
Why does the payment pool reach capacity at only 800 original requests per second?
Retries turn the 800 original arrivals into 1,000 attempts. At 0.16 seconds per attempt, that creates modeled demand for 160 slots.
Does raising payment pool size fix a retry storm?
It may move pressure to the dependency. Retry limits, backoff, idempotency, and load shedding help stabilize the whole path.