Skip to content

Add a readyz probe to the benchmark glutton actor#545

Open
Chuang Wang (chuangw6) wants to merge 1 commit into
bench/locust-image-platformfrom
bench/glutton-readyz
Open

Add a readyz probe to the benchmark glutton actor#545
Chuang Wang (chuangw6) wants to merge 1 commit into
bench/locust-image-platformfrom
bench/glutton-readyz

Conversation

@chuangw6

@chuangw6 Chuang Wang (chuangw6) commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

ResumeActor returned as soon as the resume workflow finished, not when glutton's port 80 listener was accepting connections. A ping issued right after resume could land in that gap, get ECONNREFUSED, and come back from the router as a 503. At 50 VUs this was roughly 42% of pings failing.

ateom already has the gate: internal/readyz.WaitAll blocks RestoreWorkload and RunWorkload until every container that declares a readyz probe returns 200. Containers without a probe are skipped entirely, so glutton was never waited on. This adds /readyz to the HTTP mux — on the same listener as /ping, since the metrics server starts independently and would answer 200 before /ping is reachable — and points the ActorTemplate at it.

Note that ActorTemplate.spec is immutable, so picking this up needs a delete and recreate of the template, not an apply.

Stacked on #543.

ResumeActor returned as soon as the resume workflow finished, not when
glutton's port 80 listener was accepting connections. A ping issued right
after resume could land in that gap, get ECONNREFUSED, and come back from
the router as a 503.

ateom already has the gate: internal/readyz.WaitAll blocks RestoreWorkload
and RunWorkload until every container that declares a readyz probe returns
200. Containers without a probe are skipped entirely, so glutton was never
waited on. This adds /readyz to the HTTP mux -- on the same listener as
/ping, since the metrics server starts independently and would answer 200
before /ping is reachable -- and points the ActorTemplate at it.

Note that ActorTemplate.spec is immutable, so picking this up needs a
delete and recreate of the template, not an apply.
@chuangw6
Chuang Wang (chuangw6) changed the base branch from bench/boomer-pace-early-exit to bench/locust-image-platform July 27, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant