Limit Envoy upstream work with distributed circuit breakers
Answer: Circuit breaking is a critical component of distributed systems. Envoy enforces circuit breaking limits at the network level. The limits are fully distributed, not coordinated, across the mesh.
Limit types
Envoy supports several cluster limits. The maximum connections limit caps connections Envoy will establish toward every host in a cluster. When that breaker overflows, Envoy increments upstream_cx_overflow for the cluster. The maximum pending requests limit caps how many requests wait for a ready connection pool connection.
| maximum connections | maximum pending requests | |---|---| | maximum connections | connections toward every host in a cluster | | maximum pending requests | requests queued for a ready connection | | upstream_cx_overflow | counter incremented on overflow | | Thresholds | CircuitBreaker settings for a RoutingPriority |
Thresholds in the proto
circuit_breaker.proto says settings can be specified individually for each defined priority. A Thresholds message defines CircuitBreaker settings for a RoutingPriority. RetryBudget can specify a limit on concurrent retries as a percentage. Set these on the cluster rather than coding the same limits in every application.
See also
Claims
- id: C1 claim: Circuit breaking is a critical component of distributed systems. source: S1 evidence: "Circuit breaking is a critical component of distributed systems."
- id: C2 claim: Envoy enforces circuit breaking limits at the network level. source: S1 evidence: "Envoy enforces circuit breaking limits at the network level"
- id: C3 claim: A Thresholds message defines CircuitBreaker settings for a RoutingPriority. source: S2 evidence: "Specifies the limit on concurrent retries as a percentage"
Sources
- [S1] Circuit breaking. Envoy. https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/circuit_breaking . License: Apache-2.0. Accessed 2026-11-20.
- [S2] circuit_breaker.proto. envoyproxy/envoy. https://raw.githubusercontent.com/envoyproxy/envoy/main/api/envoy/config/cluster/v3/circuit_breaker.proto . License: Apache-2.0. Accessed 2026-11-20.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Envoy, Circuit breaking; envoyproxy/envoy, circuit_breaker.proto. Apache-2.0; Apache-2.0. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Envoy, Circuit breaking; envoyproxy/envoy, circuit_breaker.proto. Apache-2.0; Apache-2.0.
Cite this
iinventedlight. 2026. "Limit Envoy upstream work with distributed circuit breakers." iinventedlight Library, iil:note:xpbasvv7, version of 2026-11-20. https://iinventedlight.com/library/notes/envoy-circuit-breaking/. License: CC-BY-4.0.
@misc{iil_note_xpbasvv7,
author = {{iinventedlight}},
title = {{Limit Envoy upstream work with distributed circuit breakers}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-20},
url = {https://iinventedlight.com/library/notes/envoy-circuit-breaking/},
note = {Permanent ID iil:note:xpbasvv7. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- envoy-circuit-breaking.table.json (table; CC-BY-4.0)
- envoy-circuit-breaking.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/envoy-circuit-breaking.md.