Difference between Ribbon circuit breaker and Hystrix

reos picture reos · Oct 13, 2015 · Viewed 7k times · Source

I'm giving a try to Spring Cloud and Spring Boot. It uses Netflix OSS Applications, among them there are Ribbon and Hystrix.

Ribbon is a load balancer and comes with some features, one of them is a circuit breaker.

Hystrix is a circuit breaker application.

I don't know the difference between them both. Why use Hystrix if Ribbon already comes with a circuit breaker feature.

Can I use both applications in the same connector?

Answer

spencergibb picture spencergibb · Oct 13, 2015

I'm not aware of any circuit breaker in ribbon except integration with Hystrix. We recommend using both, ribbon for the load balancer and hystrix for the circuit breaker.