1.

What are the main features of the Hystrix library?

Answer»

Hystrix library makes our distributed system resilient (adaptable & quick to recover) to failures. It 

PROVIDES three main features: 

  • Latency and fault-tolerance 

It helps stop cascading failures, PROVIDE decent fallbacks and graceful degradation of service functionality to confine failures. It works on the idea of fail-fast and rapid RECOVERY. Two different options namely THREAD isolation and Semaphore isolation are available for use to confine failures. 

Using real-time metrics, you can remain alert, make decisions, affect changes and see results. 

  • Concurrency 

Parallel execution, concurrent aware request caching and finally automated batching through request collapsing improves the concurrency performance of your application. 

More information on Netflix hystrix library: 

  • https://github.com/Netflix/Hystrix/
  • https://github.com/Netflix/Hystrix/wiki#principles
  • https://github.com/Netflix/Hystrix/wiki/How-it-Works


Discussion

No Comment Found