Try
↑ ↓ move↵ openesc close
In this lesson · topic 7 of 7
  1. 1. A full server gets worse, not just slower
  2. 2. Four queues and four signals
  3. 3. Overload one server four ways
  4. 4. A queue bound is only as good as its timeout
  5. 5. Deciding who gets shed first
  6. 6. Let the client throttle itself
  7. 7. Reading an overloaded dashboard

Topic 7

Reading an overloaded dashboard

4 min read

Predict first

An on-call engineer sees a service at full CPU, steady throughput and rising latency. Success rate as measured by clients is falling. What is the likeliest cause?

Predict first

You bound a queue to 100 requests. Workers finish 20 requests a second, and clients give up after 2 seconds. What happens under sustained overload?

Predict first

What does a Retry-After header add to a 429 response?

Take away

  • Above capacity, a queue turns excess load into delay, and delay turns finished work into wasted work. Goodput can fall to nothing while throughput looks perfect.
  • A bound on the queue, a deadline check, or serving newest first all keep goodput near capacity. They differ in who gets refused and what has to be tuned.
  • Say no early, say it quickly, and say when to come back.
  • Shed the lowest criticality class first, with two thresholds so it does not flap, and let clients throttle themselves from their own accept counts.

Sources

Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms