Netflix / Hystrix

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
23.98k stars 4.7k forks source link

Excuse me, if serviceA calls serviceB, (B has two instances, B1 and B2), adding B1 always return a non-200 status code. Is there any way for hystrix to fuse B1 and directly adjust B2? #2025

Open hujf2 opened 2 years ago

hujf2 commented 2 years ago

Excuse me, if serviceA calls serviceB, (B has two instances, B1 and B2), adding B1 always return a non-200 status code. Is there any way for hystrix to fuse B1 and directly adjust B2? (Retry is not considered here because there is a performance problem)

ThinkingMan007 commented 2 years ago

好的,我已收到。

www147258 commented 1 year ago

在上报中扩展HystrixCommandKey, 默认HystrixCommandKey是由服务名+类名+方法名 你可以扩展到服务名+服务实例名+类名 + 方法名