Search⌘ K

Resilience: Hystrix

Explore how to enhance microservice resilience using Hystrix within the Netflix stack. Understand key patterns like timeouts, fail fast, bulkheads, and circuit breakers to prevent cascading failures and improve system reliability.

Introduction #

With synchronous communication between microservices, it is important that the failure of one microservice does not cause other microservices to fail as well.

Otherwise, the unavailability of a single microservice can cause further microservices to fail until the entire system is no longer available.

The microservices may return errors because they cannot deliver reasonable results due to a failed microservice.

However, it must not happen that a microservice waits for the result of another microservice for an infinite period of time and thereby becomes unavailable itself.

Resilience patterns #

Michael T. Nygard’s book, ...