Queue Backlog Recovery Calculator
Estimate the backlog from a traffic burst, the time it takes to drain, and whether adding workers can help under a downstream throughput cap.
Scenario
Forecast
The current configuration misses the recovery target.
- Effective throughput
- 40 jobs/s
- Backlog at end of burst
- 3,600 jobs
- Time to clear backlog
- 180 s
- Minimum workers for target
- 10
- Capacity is limited by worker throughput.
- Required processing rate for this burst and recovery window: 46.667 jobs/s.
How this is calculated
Throughput is the lower of worker capacity and the downstream cap. Excess arrivals accumulate during the burst. Afterward, only throughput left over after normal arrivals can clear that backlog. The staffing estimate recalculates both phases: it must handle normal traffic and process all arrivals across the burst and recovery window.
How to use it
- Set normal and burst arrival rates, worker count, service time and downstream capacity.
- Read the forecast and compare scenarios by changing one input at a time.
Supported formats & limits
Assumes an initially empty queue, constant rates during each phase, one job per worker at a time and no retries. This fluid model estimates aggregate backlog, not individual wait times or latency percentiles.
Data handling
Input is processed in your browser, not uploaded or included in analytics events. Copying or downloading creates a separate copy. The site can load hosting analytics; it is not an offline application.
Common questions
Why might more workers not help?
When the downstream rate is the bottleneck, workers cannot raise effective throughput. Increase capacity or spread the burst over more time.