【发布时间】:2016-11-26 05:28:49
【问题描述】:
我正在尝试使用 hystrix-javanica 为我的应用程序实现 hystrix。
我已将 hystrix-configuration.properties 配置如下
hystrix.command.default.execution.isolation.strategy=SEMAPHORE
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
hystrix.command.default.fallback.enabled=true
hystrix.command.default.circuitBreaker.enabled=true
hystrix.command.default.circuitBreaker.requestVolumeThreshold=3
hystrix.command.default.circuitBreaker.sleepWindowInMilliseconds=50000
hystrix.command.default.circuitBreaker.errorThresholdPercentage=50
短路模式工作正常,但我对此 hystrix.command.default.circuitBreaker.requestVolumeThreshold=3 有疑问
- 3次故障后是否表示断路 或
- 在 3 次并发故障后打开电路。
浏览文档link
有人可以回答吗?
【问题讨论】:
标签: short-circuiting netflix hystrix circuit-breaker fail-fast