QPS & Latency Calculator

Apply Little's Law to relate QPS, average latency, and concurrency, and size the thread pool or connection pool needed.

Frequently Asked Questions

Does Little's Law assume any specific distribution?

No - it holds for any stable queuing system under general arrival and service time distributions, with no assumptions about Poisson arrivals or exponential service times.

What does 'stable system' mean?

A stable system is one where the arrival rate does not persistently exceed the service capacity. If requests arrive faster than they can be processed, the queue grows without bound.

Why do I need headroom above the theoretical concurrency?

Traffic is bursty, so instantaneous concurrency spikes above the average. Without headroom, burst arrivals cause queueing, which raises latency, which increases concurrency - a feedback loop that can saturate the system.

How does this differ from M/M/1 queuing theory?

M/M/1 adds specific distribution assumptions to predict how latency grows as utilization rises. Little's Law is distribution-free and relates only steady-state averages - it does not predict queueing delay growth.

Important Disclaimer: Estimates for informational purposes only.

This calculator provides estimates for informational purposes only. Results are based on assumptions and may not reflect actual outcomes. Consult qualified professionals in relevant fields before making important decisions based on these results.