Heather Thacker

Load Testing AI: Aiming at a Moving Target

Are your load tests hiding the real failure modes of AI, like cascading failures from retry storms and runaway cost overruns?

Load Testing AI: Aiming at a Moving Target
#1about 2 minutes

Why traditional load tests fail for AI applications

Standard API load tests give a false sense of security because they don't account for the unique behavior of AI workloads.

#2about 5 minutes

Understanding the unique properties of AI traffic

AI requests are fundamentally different from web requests due to nondeterminism, variable latency, bounded concurrency, and per-token costs.

#3about 4 minutes

Identifying common failure modes in AI systems

AI systems can fail in unique ways, including latency tail explosions, response truncation, retry storms, and unexpected cost overruns.

#4about 5 minutes

How to model realistic AI load for testing

Create effective tests by using a corpus of real prompts, modeling user think time with an open workload, and simulating client retry behavior.

#5about 3 minutes

Measuring beyond throughput for AI services

Evaluate AI performance across four dimensions: latency percentiles, throughput in tokens per second, cost per request, and resilience through graceful degradation.

#6about 4 minutes

Demo of a naive web API style load test

A standard load test with a fixed prompt and aggressive latency SLA fails for a useless reason because it misinterprets normal AI behavior.

#7about 4 minutes

Demo of a realistic AI load test

Using a varied prompt corpus and an open workload model reveals the true latency distribution and performance characteristics of the AI service.

#8about 5 minutes

Demo of stress testing for graceful degradation

A stress test shows how a well-designed system sheds excess load with 503 errors and trips a cost circuit breaker instead of crashing.

#9about 3 minutes

Achieving production readiness for AI systems

Turn test results into reliability by setting AI-native SLOs, building safety mechanisms like "cancel on disconnect," and monitoring cost as a signal.

#10about 2 minutes

Recap of key principles for AI load testing

The core message is to model reality with real prompts and user behavior, measure across latency, cost, and resilience, and test continuously.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles

From learning to earning

Jobs that call for the skills explored in this talk.