-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement for circuit breaking #790
Comments
Fuse rule1, in addition to throwing a DegradeException exception, ** can give a query specific business exception triggered rules, such as: AException, BExcetpion**, resulting in fuse; single from the DegradeException exception to help for business troubleshooting
3, RT_MAX_EXCEED_N = 5 Can this set unconfigured items? 4, current limit, fuse, system rules can be added to the concept of the rule group, so it is more convenient to use, only need to add resources to the rule group, reduce configuration items 5, the fuse rule abnormal proportion, count = 0.7 (70% of the abnormality in 1 second) there are only 4 exceptions in one second, also triggered the fuse and the time is basically at 23:59, this is the configuration is wrong, or the system boundary Value problem |
As for 1.7.0, most of these have been improved.
For 1, we're planning to introduce a log for recorded biz exceptions. See #925 for more details.
Sentinel supports multiple degrade rules for the same resource. Each degrade rule will be checked (priority might not be needed). Since 1.6.x, you could set the exception type set via the Sentinel/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Tracer.java Lines 144 to 147 in f4d0220
This has been supported since 1.7.0.
Good idea. We may open a new issue and do further discussion. |
Circuit breaking has been refactored and enhanced since 1.8.0 |
1,熔断时除了抛出DegradeException异常,可否给出查询具体是什么业务异常触发了规则,比如:AException,BExcetpion,导致熔断;单从DegradeException异常看对于业务问题排查帮助不大
2,同一资源熔断规则可否配置多项,并设置优先级,比如:异常数,响应时间,异常比例,多项中谁先达到熔断条件则触发熔断,另外可否只有特定异常才加入到统计中
3,RT_MAX_EXCEED_N = 5 这个可否设置未配置项
4,限流,熔断,系统规则可否加入规则组的概念,这样使用较为方便,只需要把资源加入到规则组即可,减少配置项
5,熔断规则异常比例,count=0.7 (1秒内70%的异常)在一秒内有只有4个异常,也触发了熔断且时间基本是在23:59这是配置有误,还是系统边界值问题,版本1.6release
配置如:
"degradeRules": [
{
"count": 0.7,
"grade": 1,
"timeWindow": 30
}
]
The text was updated successfully, but these errors were encountered: