Measuring Throughput from Completed Work
Throughput counts completed units per time interval. Submissions and queued tasks measure demand rather than delivered results.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Compute a useful rate
If 120 reports finish during ten seconds, the completed throughput is twelve per second. Reporting all 150 submissions would instead describe fifteen arrivals per second. See arrival and service rates.
Choose the completed unit
A report can complete when generated or when available to the consumer, depending on its promise. Accepted versus completed work separates those states.[1]
Divide finished useful results by the observation interval
A worker begins forty requests in five seconds and completes thirty during that interval. Counting starts would suggest eight per second. Counting completed work gives six per second. Open work can accumulate even if admissions look fast. See arrival and service rates.
Window: 5 seconds
Started: 40
Completed: 30
Observed completion throughput: 6 per second
State how in-flight work and failures are counted
At boundaries, some completions can belong to requests started earlier. Include warm-up and drain explicitly where appropriate. Test that an implementation reporting failures quickly does not appear faster under a successful-completion metric.