Jargonautica
Running It in Production

Load Testing

Deliberately finding the breaking point before your users do. Send progressively more traffic until something fails and see what fails first. For model-backed systems the answer is often the provider’s rate limit rather than anything you control, which is useful to discover in advance.

Technical view

Should use realistic prompt and output length distributions, since latency depends strongly on both, and should measure percentiles rather than means, alongside error rate and cost per request under load. Identify the binding constraint: accelerator memory, rate limits, queue depth or a downstream dependency. Include soak tests for memory leaks and cache growth, and test the degradation path, since behaviour at overload matters more than the headline capacity number.


Part of AI Terminology Index, section: Running It in Production.

How it connects

Load Testing links to 5 other terms. The faint lines are links between those terms. See it in the full graph.

Latency, Throughput and Time to First TokenLatency, Throughput…Service Level ObjectiveService Level Objec…Rate Limits and QuotasRate Limits and Quo…AutoscalingAutoscalingShadow DeploymentShadow DeploymentLoad Testing