Skip to content

atenet-router: raise actor-cluster circuit breakers - #806

Open
Chuang Wang (chuangw6) wants to merge 1 commit into
agent-substrate:mainfrom
chuangw6:router-limits
Open

atenet-router: raise actor-cluster circuit breakers#806
Chuang Wang (chuangw6) wants to merge 1 commit into
agent-substrate:mainfrom
chuangw6:router-limits

Conversation

@chuangw6

@chuangw6 Chuang Wang (chuangw6) commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Part of #665.

The actor cluster configured no circuit breakers, leaving Envoy's 1,024 default — which caps concurrent requests through the router far below what it can carry and reads, from outside, as the router running out of capacity.

  • Actor cluster: max_connections, max_pending_requests and max_requests rise to 20,000, kept under the ~28k ephemeral-port budget so overload trips a counted breaker instead of the kernel's opaque EADDRNOTAVAIL. max_retries keeps Envoy's default — nothing on this cluster retries.
  • ext_proc cluster: the --extproc-max-requests ceiling now covers max_pending_requests as well as max_requests; the derived default is unchanged.
  • Manifest: dispatcher stats and mutex tracing for observability, --concurrency pinned at 8, and resources with small requests plus 8-core limits so the pod schedules anywhere while CPU stays capped.

Tested with go test ./cmd/atenet/internal/router/.

🤖 Generated with Claude Code

@google-cla

google-cla Bot commented Aug 8, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@chuangw6 Chuang Wang (chuangw6) changed the title atenet-router: raise ext_proc and actor-cluster circuit breakers atenet-router: raise actor-cluster circuit breakers Aug 8, 2026
@chuangw6
Chuang Wang (chuangw6) force-pushed the router-limits branch 4 times, most recently from 17658f0 to 3c308a7 Compare August 8, 2026 01:09
The actor cluster configured no breakers, leaving Envoy's 1,024 default,
which caps concurrent requests through the router far below what it can
carry. Connections, pending and requests rise to 20,000, kept under the
~28k source-port budget so overload trips a counted breaker instead of the
kernel's opaque EADDRNOTAVAIL; max_retries keeps its default since nothing
here retries. The ext_proc breaker now applies its ceiling to
max_pending_requests as well as max_requests. The manifest also enables
dispatcher stats and mutex tracing for observability and pins
--concurrency at 8.
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