hystrixcommandflow
2016-04-21 18:57:26 2 举报
登录查看完整内容
为你推荐
查看更多
抱歉,暂无相关内容
HystrixCommandFlow是Hystrix库中的一个核心组件,它用于管理和执行多个Hystrix命令。通过将多个命令组合在一起,形成一个命令流,可以更好地控制和优化整个流程的性能。HystrixCommandFlow提供了一种简单而强大的方法来处理复杂的业务逻辑,确保系统在面对高并发和异常情况时仍能保持稳定和可靠。
作者其他创作
大纲/内容
yes;return cached value
queue
yes;short-circuit
run/construct
calculatecircuit health
HystrixObservableCommand
no; return resulting Observable
fallbacksuccessful?
report metrics
executionfails?
observable
timeout?
Semephore/Thread pool rejected?
getFallback/resumeWithFallback
circuit-breaker open?
HystrixCommand
availble in cache?
no;failed or no fallback
toObservable
rejected
yes
execute
yes;return fallback
0 条评论
回复 删除
下一页