熔断、隔离限流、降级
2022-07-20 11:52:30 0 举报
熔断、隔离限流、降级原理
作者其他创作
大纲/内容
4
2
Reject
No Exception Thrown
5
Successful Fallback
9
Report Error/Success Metrics
Short-circuit
1
Exception Thrown
5a
run()
.execute()
.queue()
8a
8c
Failed Fallback
7
6a
getFallback()
8
ConstructHystrixCommand
熔断、隔离限流、降级
Synchronous
Thread pool/queue full?
CircultOpen?
YesGot Response
Yesreturn immediately
Calculate Circuit Health
Success?
6b
Return Fallback Response
Return Successful Response
Reactive
8b
Not Implemented
6
Timeout
3
ReportMetrics
.observe() or .toObservable()
0 条评论
下一页