dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Does Dubbo have plan to support circuit breaker?

Open meiping05 opened this issue 9 years ago • 15 comments

比如整合Hystrix,以及Hystrix Dashboard

meiping05 avatar Nov 22 '17 01:11 meiping05

这个会纳入考虑,不过Hystrix 并非最优的选择

mercyblitz avatar Nov 22 '17 01:11 mercyblitz

@mercyblitz 有其他熔断器可以推荐一下,目前正在整合这块

meiping05 avatar Nov 22 '17 01:11 meiping05

同求

takeseem avatar Nov 23 '17 05:11 takeseem

先关注下,同样需求!

maodie007 avatar Dec 11 '17 08:12 maodie007

同求

karenbj13 avatar Jan 05 '18 02:01 karenbj13

@mercyblitz 目前hystrix的熔断是直接将服务完全拒绝掉,有一种场景,如果服务提供方有一半是不可用的,这个时候如果真的设置了熔断,可能会造成这个服务的请求直接被拒绝掉了。有没有一种机制,能将熔断粒度细化到服务提供者维度,就是说如果某一个提供者一直报错,我把这个提供者熔断掉。

stoneapple avatar Jan 15 '18 08:01 stoneapple

熔断简直太重要了,无论是服务级别熔断,还是实例级别熔断,都很重要。特别是后者,现在使用dubbo, 在RPC服务中一台provider机器慢下来,会拖垮整个consumer集群

Jaskey avatar Feb 04 '18 11:02 Jaskey

dubbo现在不是支持实例级别熔断吗?mock="return null"

wannshan avatar Mar 06 '18 10:03 wannshan

Would you like to start a discussion on [email protected] mailto:[email protected] ? Just send your requirement of circuit break to this email, and i am sure that the community will have a discuss on it. And also, i am doing research on this feature recently, and I’d like you guys to start this discussion.

Best regards, Jun Liu

On 6 Mar 2018, at 6:15 PM, wannshan [email protected] wrote:

dubbo现在不是支持实例级别熔断吗?mock="return null"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alibaba/dubbo/issues/896#issuecomment-370732037, or mute the thread https://github.com/notifications/unsubscribe-auth/ARQlicmBJah5nAGPGXbMB5IFnDBg7wK5ks5tbmG9gaJpZM4Qmv81.

chickenlj avatar Mar 07 '18 03:03 chickenlj

@wannshan 这个不是熔断,这个只是服务降级功能而已。

raduihys avatar Mar 23 '18 07:03 raduihys

@raduihys 不反对。不过熔断结果就是服务降级。

wannshan avatar Mar 23 '18 07:03 wannshan

我们开发了一个熔断器,只熔断有问题的机器

wanhuhou avatar Mar 23 '18 08:03 wanhuhou

配置在消费端,根据时间内错误率将机器从本地服务列表中移出,时间窗口检测,机器恢复正常,在放进去

wanhuhou avatar Mar 23 '18 08:03 wanhuhou

There is a pull request for circuit breaker: https://github.com/apache/incubator-dubbo/pull/1574

ralf0131 avatar Apr 28 '18 09:04 ralf0131

@meiping05 Hope this article can help you. http://dubbo.apache.org/zh-cn/blog/dubbo-integrate-with-hystrix.html

Feel free to reopen.

diecui1202 avatar Sep 03 '18 05:09 diecui1202