Glutton Benchmarking Enhancements - #1631
Open
Max Smythe (maxsmythe) wants to merge 1 commit into
Open
Conversation
…lient-side latency Glutton actors per VU. Each VU creates --actors-per-user actors on startup and cycles through them round-robin, so one goroutine can drive many mostly-idle actors. runner.py forwards the flag to boomer-glutton. A crashed actor stays crashed for the run (ateapi never rehabilitates it), so it is marked on the first Aborted "crashed" error, skipped from then on, and counted in a CrashCount stat. Live window. --min/--max-live-time (default 0-0) set how long an actor stays resumed between its first ping and the suspend. Up to --max-pings-per-wake pings (default 1) run inside it, spaced 0.2-1.0s apart. The wait window (--min/--max-wait-time) remains the gap between one actor's suspend and the VU's next resume, and every return path sleeps it, so a failing startUser, resume, or crashed actor does not spin on boomer's zero-delay re-entry. With the defaults the cycle is resume, ping, suspend, wait: the same shape as before. Resume retries. ResumeActor retries ateapi's transient "concurrent update conflict" Aborted up to five times with a 50ms backoff, inside the timed call, so the conflict no longer shows up as a failure. Client-side latency. Every gRPC row in the locust stats now reports client wall clock, which covers retries, queueing, and the network. The server's elapsed-time trailer stays on the trace span only. Worker robustness. The router HTTP client keeps up to 10000 idle connections per host so each VU reuses its connection across wakes. A failed dynconfig fetch after the first successful one keeps the last fetched values instead of exiting the worker. Orchestrator. util.run logs the duration of each shell command.
Max Smythe (maxsmythe)
requested a review
from Sairaj Pokale (sairajp-rewind)
September 13, 2026 07:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #<issue_number_goes_here>