benchmarking: pace boomer to a target rate and add the resumepaused user class #2350
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 264 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.334
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2350"
general
weight: 0.35
haiyanmeng
This PR lets boomer hold a fixed request rate for each ladder step, and adds a user class,
resumepaused, that drives ate-api-server's cold resume path at that rate. It is needed for ate-api-server capacity runs: a closed-loop user can't hold a rate, because the offered load drops whenever the server slows down. Benchmark-only, with no production code changes.Commits
1. Pace boomer to a target request rate per ladder step. A new dynconfig field,
target_rps, is set with--target-rpsor per ladder step asusers:duration@rps(e.g.200:3m@4000). Boomer picks up a change within 10 s. Only user classes that pace themselves honor it, which today is resumepaused.2. Add the resumepaused user class. Each user owns one actor. On its first iteration the user creates the actor and makes it cold with a resume and a pause; every later iteration resumes it (
ResumeActorCold, paced totarget_rps) and pauses it again (PauseActor). The warm-up is unpaced and recorded under its own names (CreateActor,ResumeActorWarmup,PauseActorWarmup) in the step that added the user. Every actor is deleted on exit. It sends no traffic to the actors, so it runs on the fake data plane (#2300).Notes for reviewers
usersat or above the rate times the p99 cycle time, or a step falls short of its rate.target_rpspaces one boomer worker.tests.yamlcapacity tests come in a follow-up PR.Details are in the ResumePaused section of
benchmarking/README.md.Testing
go test -race ./internal/benchmarking/boomer/...python3 benchmarking/locust/unit_tests/test_ladder_shape.py(needs locust)python3 benchmarking/automation/test_orchestrator.pyAddresses #2261