litellm/litellm-rust/loadtest/workloads/sustained-check.json
Nate Armstrong 967026feef
Some checks failed
Rust gateway load-test kit / vet, build, image (push) Has been cancelled
Rust gateway load-test kit / terraform fmt, validate (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
feat(loadtest): sustained-rate workloads at 100, 500 and 1,000 rps (#47719)
Evenly spaced arrivals ("arrivals": "constant"), per-request lag_ms so a
run shows when the generator falls behind, and an s3stub that stores
objects compressed and lists from a sorted index, so a 15-minute run at
1,000 rps per gateway fits in memory and verify can list it.
2026-10-20 19:36:28 -07:00

20 lines
1.1 KiB
JSON

{
"name": "sustained-rate check: 100, 500 and 1,000 rps for 2 minutes each with the sustained workloads' mix, to confirm the client, mock and stack hold 1,000 rps before the 15-minute runs",
"stages": [{"duration_s": 120, "rps": 100}, {"duration_s": 120, "rps": 500}, {"duration_s": 120, "rps": 1000}],
"arrivals": "constant",
"nonstream_max_s": 360,
"warmup_s": 15,
"max_in_flight": 30000,
"keys": {"file": "out/keys.txt", "zipf_s": 0},
"models": {"chat": {"prefix": "gpt-6-astra-", "count": 10}, "messages": {"prefix": "claude-opus-5-5-", "count": 10}},
"classes": [
{"name": "chat", "weight": 1, "endpoint": "chat", "stream_fraction": 0.5,
"context_tokens": {"dist": "loguniform", "min": 10000, "max": 50000},
"ttft_ms": {"dist": "uniform", "min": 200, "max": 800},
"duration_s": {"dist": "uniform", "min": 1, "max": 5}},
{"name": "messages", "weight": 1, "endpoint": "messages", "stream_fraction": 0.5,
"context_tokens": {"dist": "loguniform", "min": 10000, "max": 50000},
"ttft_ms": {"dist": "uniform", "min": 200, "max": 800},
"duration_s": {"dist": "uniform", "min": 1, "max": 5}}
]
}