Labs

Utilization vs latency

Push arrivals toward capacity and watch time in the system bend up long before throughput runs out.

Waiting0Busy0/1Within budget—SLI = good ÷ allMeasured W— M/M/c: 66.7 ms0 requests done
Utilization70%ρ = λ ÷ capacity = 35/s ÷ 50/s
Mean time in system66.7 msW = 3.3× S · waiting 46.7 ms
In flight2.33L = λ·W (Little) · queued 1.63
Requests that wait70%probability of queueing (Erlang C)
Max load within budget80%λ ≤ 40/s
Servers needed1at this λ, W within budget

1 server, one queue · Budget · over budget · x: utilization ρ · y: mean time in system

At 70% utilization a request spends 3.3× its service time in the system (66.7 ms); at 90% it would be 10×, at 99% 100×. Throughput still looks fine there: latency breaks first, so plan capacity for headroom.

How it's calculated · assumptions

ρ = λ·S ÷ c · W = S + Wq, Wq = C(c, λS)·S ÷ (c·(1 − ρ)); c = 1: W = S ÷ (1 − ρ) · L = λ·W (Little's law)

This budget allows up to 80% utilization (λ ≤ 40/s).

Illustrative: a random M/M/c run in slow motion (1 S ≈ 0.5 s on screen). The measured mean wanders around the formula and settles as more requests finish; near 100% utilization it needs far more of them. A change of λ or c jumps to a typical state for the new load, then runs from there. Waiting dots redden; finished ones leave green within the latency budget and red over it.

Model (a simplifying assumption): M/M/c, meaning Poisson arrivals, exponential service times with mean S, c identical servers pulling from one FIFO queue, steady state; W from the Erlang C formula (e.g. Harchol-Balter, Performance Modeling and Design of Computer Systems, 2013). Dotted line: c separate queues with random routing, each one an M/M/1. Burstier arrivals or more variable service times lengthen queues and steadier ones shorten them, so read the shape, not the exact milliseconds. Little's law holds for any stable system (queues-streams concept).