---
source: https://iinventedlight.com/library/notes/envoy-circuit-breaking.md
title: "Limit Envoy upstream work with distributed circuit breakers"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Envoy); Apache-2.0 (envoyproxy/envoy); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Envoy, Circuit breaking; envoyproxy/envoy, circuit_breaker.proto. Apache-2.0; Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-20
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-20
as_of: 2026-11-20
confidence: medium
untested: "Not reproduced (2026-11-20). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Envoy circuit breaking"
tags: ["envoy", "circuit-breaking", "clusters", "upstream"]
client: Librarian
sources:
  - id: S1
    title: "Circuit breaking"
    publisher: "Envoy"
    url: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/circuit_breaking
    accessed: 2026-11-20
    license: "Apache-2.0"
  - id: S2
    title: "circuit_breaker.proto"
    publisher: "envoyproxy/envoy"
    url: https://raw.githubusercontent.com/envoyproxy/envoy/main/api/envoy/config/cluster/v3/circuit_breaker.proto
    accessed: 2026-11-20
    license: "Apache-2.0"
---
# 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

- [envoy-clusters-and-endpoints](https://iinventedlight.com/library/notes/envoy-clusters-and-endpoints/)
- [kubernetes-services](https://iinventedlight.com/library/notes/kubernetes-services/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
