Arrival Rate and Service Throughput

The rate of incoming work and the rate processed determine whether a queue can absorb expected demand over time.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace an ordinary workload
  2. Check a short burst separately
  3. Calculate backlog growth during a steady overload interval
  4. Define the time range and admission policy

Trace an ordinary workload

If a worker finishes eight jobs each second while twelve arrive, pending jobs increase by four per second in a simplified steady interval. Event rates describe the common units.

Check a short burst separately

A queue can absorb a temporary surplus and drain when demand falls. Sustained surplus needs a capacity or admission decision. Backpressure can make that decision visible upstream.[1]

Calculate backlog growth during a steady overload interval

If clients submit twelve jobs per second while workers complete nine per second, the unbounded backlog grows by three per second under constant rates and no rejection. Twenty seconds add sixty waiting or unfinished jobs depending on the counting boundary. See completed-work throughput.

Arrive: 240 jobs in 20 s
Complete: 180 jobs in 20 s
Difference: 60 additional unfinished jobs under the stated assumptions

Define the time range and admission policy

Bursts can create waiting even below average service capacity. A finite queue limits storage by deferring or rejecting work. Measure accepted, completed and rejected counts as distinct rates.

References

  1. Google, Site Reliability Engineering ↩