Circuit Breaker
Circuit Breaker
📖 Definition
Circuit Breaker is a fault tolerance mechanism that automatically "opens" the request chain when downstream services fail, quickly returning error responses to prevent fault propagation. It automatically "closes" to resume normal calls after service recovery.
🔗 How Higress Uses This
Higress has built-in circuit breaking capabilities, supporting automatic triggering based on error rates, timeout rates, and other metrics, and can configure Fallback strategies. AI scenarios support model-level Failover.
💡 Examples
- 1 Circuit breaker triggers when error rate exceeds 50%
- 2 Directly returns cached default response during circuit breaking
- 3 Automatically switches to backup model when primary model is unavailable
🔄 Related Terms
❓ FAQ
What is Circuit Breaker?
Circuit Breaker is a fault tolerance mechanism that automatically "opens" the request chain when downstream services fail, quickly returning error responses to prevent fault propagation. It automatically "closes" to resume normal calls after service recovery.
How does Higress support Circuit Breaker?
Higress has built-in circuit breaking capabilities, supporting automatic triggering based on error rates, timeout rates, and other metrics, and can configure Fallback strategies. AI scenarios support model-level Failover.
Learn More About Higress
Explore more Higress features and best practices