Seems that hystrix is near end of life and that netflix stack is now a bit deprecated. We're building a stack for a brand new project and we need a circuit breaker, our default choice would have been hystrix as it is well known and appreciated by the team.
Today hystrix is fully integrated in spring cloud, is there any plan to remove it soon ?
It is officially deprecated. As a replacement to Hystrix, Resilience4J is introduced.
Akka, Envoy, Istio, Zuul, and Polly are the most popular alternatives and competitors to Hystrix.
According to my research Resilience4j is a robust option than hystrix .
The Hystrix framework library helps to control the interaction between services by providing fault tolerance and latency tolerance. It improves overall resilience of the system by isolating the failing services and stopping the cascading effect of failures.
Spring Cloud Circuit breaker provides an abstraction across different circuit breaker implementations. It provides a consistent API to use in your applications allowing you the developer to choose the circuit breaker implementation that best fits your needs for your app.
Supported Implementations
Netfix Hystrix
Resilience4J
Sentinel
The main benefit of using this is you have option to choose different circuit breaker libraries. Migration from one to other pain point is less.
There is nice documentation and sample code on official website
Definitely not. Spring Cloud Hystrix is in maintenance mode and will not be available any more starting from the 2020.0.0 release train (support removed with this commit). Resilience4J is a good replacement.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With