Performancequeue depthsaturated

Saturation

Definition

Saturation is the degree to which a resource has more work than it can handle, usually measured as queue length or wait time: run-queue length for CPU, pending requests for a pool, backlog for a broker.

In practice

Utilisation tells you how busy a resource is; saturation tells you whether work is waiting for it. A CPU can sit at 70% average utilisation and still be saturated in bursts, and a connection pool at 100% with nothing waiting is fine. Queue depth is the clearest early warning, because it rises before errors and timeouts do.

Saturation spreads upstream: when the database queues, app threads block waiting for it, their own pools fill, and the load balancer starts queuing too. Every tier then looks saturated, but only the deepest one is busy with its own work. Bounded queues, timeouts and load shedding keep saturation from turning into a full outage.

Example

The database CPU run queue averages 12 runnable threads on 8 cores, and the app pool reports 150 requests waiting for a connection: the database is saturated, the app tier is merely blocked.