← All notes

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

Sources

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

Permanent ID: iil:note:xpbasvv7

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.},
}

Markdown

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.

All artifact files (JSON index)

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.