A replica is an additional running instance of a service or workload. For an LLM service, load-test results help estimate how many replicas are needed for peak traffic. section 6.3.2
Estimate replica requirements by:
- Testing the service in staging while steadily increasing requests until failure or autoscaling occurs. section 6.3.2
- Using latency and throughput at failure to extrapolate peak capacity, while checking TTFT, TPS, CPU, GPU, and memory usage. section 6.3.2
Streaming service load test
A Locust user posts a prompt to /generate, counts streamed tokens, and records latency, time to first token, and tokens per second. Increasing users exposes the service bottleneck and informs replica sizing.











