Hystrix Integration - kanuku/misc GitHub Wiki
Advantages
Helps achieve low latency and fault tolerance by:
- Stopping cascading failures.
- Providing fallbacks and graceful degradation.
- Failing fast and recovering rapid.
Realtime Operations
- Realtime monitoring and configuration changes.
- Service and property changes take effect immediately as they spread across a fleet.
- Alerting mechanism
- See results from changes in seconds.
Thread and semaphore isolation with circuit breakers.
Commands
When to use the HystrixCommand?
Construct a HystrixCommand object if the dependency is expected to return a single response.
When to use the HystrixObservableCommand?
Construct a HystrixObservableCommand object if the dependency is expected to return an Observable that emits responses.