concept

Performance experiment design

Throughput is completed work per time; latency is elapsed time for one operation; saturation is pressure on a constrained resource. Measure errors and offered work separately from successful throughput. For 100 attempted requests in 10 seconds, with 95 successes, successful throughput is 9.5 requests/s and error rate is 5%. A higher throughput is not automatically better if latency or errors violate the service objective. Use an explicit workload and acceptance criteria before changing requests or scheduling policy.

Formal Syntax & Structure

kubernetes syntaxkubernetes
Attempts: 100; successes: 95; duration: 10 sSuccessful throughput = 95 / 10 = 9.5 requests/sError rate = 5 / 100 = 5%

Working Example

Example Snippetkubernetes
Sorted samples: 18 × 10 ms, 100 ms, 200 msp95 rank = 19 -> 100 ms; p99 rank = 20 -> 200 ms
Kubernetes Reference