Overload and Service Unavailability

A busy service can run and still fail to respond in time. A failed service may stop accepting work. Observations should guide the distinction.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace a rising delay
  2. Inspect several measures
  3. Identify overload while the process still answers
  4. Test whether retries improve or make the situation worse

Trace a rising delay

As a work queue grows, requests wait longer even while the worker continues completing jobs. A timeout by itself cannot distinguish this from outage. See timeout observations.

Inspect several measures

Look at arrival, completions, and queue size under the relevant time window. Arrival and throughput connect those statistics.[1]

Identify overload while the process still answers

A service can respond to health requests and reject new expensive jobs because its queue is full. A stopped service may fail before admission entirely. Both can reduce user-visible success, yet they require different evidence. See backpressure.

Running with full queue → bounded overload outcome
Running with spare capacity → accepts work
Service not reachable → connection or upstream failure

Test whether retries improve or make the situation worse

More attempts can add load when admission is already saturated. Follow the service's documented retry and delay policy. Measure rejection rate and completed work separately.

References

  1. Google, Site Reliability Engineering ↩