Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Using Resilience4j for improved resilience

Pragya Keshap answered on February 17, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • Resilience4j

  • Using Resilience4j for improved resilience

    0

    In a fairly large-scaled system landscape of cooperating microservices, we must assume that there is something going wrong all of the time. Failures must be seen as a normal state, and the system landscape must be designed to handle it!

    Initially, Spring Cloud came with Netflix Hystrix, a well-proven circuit breaker. But as already mentioned above, since the Spring Cloud Greenwich release, it is recommended to replace Netflix Hystrix with Resilience4j. Resilience4j is an open source-based fault tolerance library. It comes with a larger range of fault tolerance mechanisms compared to Netflix Hystrix:

    Circuit breaker is used to prevent a chain of failure reaction if a remote service stops responding.

    Rate limiter is used to limit the number of requests to a service during a specified time period.

    Bulkhead is used to limit the number of concurrent requests to a service.

    Retries are used to handle random errors that might happen from time to time.

    Time limiter is used to avoid waiting too long for a response from a slow or not responding service.

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 17 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.