What is circuit breaking and retry budgeting in a proxy or mesh?
AdvancedConceptLoad Balancers, Proxies & CDNs
Answer
A circuit breaker stops sending requests to an upstream that is failing or saturated (open state), returning fast errors and giving it time to recover. Retry budgets cap retries to a percentage of live traffic so retries do not turn a partial failure into a retry storm.
Envoy configures this per cluster (max connections, pending requests, outlier detection). Always pair retries with timeouts, jitter and idempotency.
More on Load Balancers, Proxies & CDNs
What is a load balancer and why do we use one?BeginnerWhat is the difference between L4 and L7 load balancing?IntermediateCompare ALB, NLB, GWLB and Classic Load Balancer in AWS.IntermediateWhat load-balancing algorithms are common?BeginnerWhat are health checks and how should they be designed?AdvancedWhat is connection draining (deregistration delay)?Intermediate