Repository navigation
atenet-router: raise the tunnel circuit breaker to 1m - #3087
Lior Lieberman (LiorLieberman) merged 1 commit into
Conversation
Is this the case? I thought yanavlasov mentioned its connections to the internal_listener? |
Lior Lieberman (LiorLieberman)
left a comment
There was a problem hiding this comment.
looks like it is used in buildActorTunnelCluster and other buildActorConnectCluster - which is used both for the internal_listener AND the proxy-->atunnel.
Should we split those configs?
I think increasing it for the proxy-->atunnel needs more thinking.. as this is real circut breakers we should think carefully about. The internal_listener ones are less important
Yes we can split into two limit But I think we should increase the |
6b3207a to
9f4923f
Compare
9f4923f to
b01a268
Compare
|
LGTM from me. |
…e#3087) At 1k nodes and 200k actors, atenet-router starts failing ingress with `503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure`. The requests that fail are the ones that need a new tunnel. `actor_connect` refuses the tunnel once a circuit breaker set by `tunnelCircuitBreakerLimit` (65536) is full. - Split the limit into tunnelCircuitBreakerLimit and actorConnectCircuitBreakerLimit, so each cluster can be tuned on its own. - Set both to 1048576. For actor_connect that covers 11,000 workers on up to about 95 Envoy threads. Leaving the breakers unset would mean Envoy's default of 1024. - Tuning actor_connect's limits is tracked in agent-substrate#3100. - [ ] Tests pass - [ ] Docs updated
At 1k nodes and 200k actors, atenet-router starts failing ingress with
503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure. The requests that fail are the ones that need a newtunnel.
actor_connectrefuses the tunnel once a circuit breaker set bytunnelCircuitBreakerLimit(65536) is full.Split the limit into tunnelCircuitBreakerLimit and
actorConnectCircuitBreakerLimit, so each cluster can be tuned on its own.
Set both to 1048576. For actor_connect that covers 11,000 workers on up to
about 95 Envoy threads. Leaving the breakers unset would mean Envoy's default
of 1024.
Tuning actor_connect's limits is tracked in atenet-router: size actor_connect's circuit breakers #3100.
Tests pass
Docs updated