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 results

Inputs

Peak traffic and latency
req/s
×
ms
ms
ms
Pool sizing

Measure residence time at the boundary that owns the slots, such as database connection hold time.

%

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.

Queue amplification as utilization rises
Illustrative latency by pool utilizationp95 reference duration 160 ms. 100 % modeled pool utilization.160 ms640 ms1,120 ms1,600 ms0%25%50%75%100%Modeled utilization 100 %
Detailed results
Effective arrival rate1,000 req/s
In flight at p50 duration65 requests
In flight at p99 duration430 requests
Slots at 80% target200 slots
Unused p95 pool share0 %
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.

Open API throughput & concurrency calculator