sentinel使用方式求助(并发访问时熔断规则失效?) #3050
Unanswered
ChengHoHang
asked this question in
Q&A
Replies: 1 comment 1 reply
-
可以持续跑一下 demo 哈,并发初次访问时效果会有延迟 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Sentinel Team.
问题描述
并发访问同一资源时达到熔断状态,但下一次请求时并没有熔断,测试代码如下所示
sleeper 内部实现
如果sleeper串行访问,那又没问题,下面的单元测试跟sentinel的单测逻辑差不多com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ResponseTimeCircuitBreakerTest#testMaxSlowRatioThreshold
麻烦大佬看下,是我的使用方式有问题还是其他原因导致的,thanks
Beta Was this translation helpful? Give feedback.
All reactions