当前位置:网站首页>Hystrix components

Hystrix components

2022-04-23 22:00:00 Leon_ Jinhai_ Sun

In a distributed environment, inevitably some of the many service dependencies will fail. Hystrix is a library that helps you control the interactions between these distributed services by adding latency tolerance and fault tolerance logic. Hystrix does this by isolating points of access between the services, stopping cascading failures across them, and providing fallback options, all of which improve your system’s overall resiliency. --[ From the official ]

# 0. explain
- https://github.com/Netflix/Hystrix
- translate : In a distributed environment , Many service dependencies inevitably fail .Hystrix Is a library , It helps you control the interaction between these distributed services by adding delay tolerance and fault tolerance logic .Hystrix By isolating access points between services 、 Stop cascading failures between them and provide backup options to do this , All of these can improve the overall flexibility of the system .
- Popular definition : Hystrix Is an open source library for dealing with latency and fault tolerance in distributed systems , In distributed systems , Many dependencies inevitably fail , Overtime 、 Abnormal etc. ,Hystrix To ensure that in the case of a dependency problem , It doesn't cause the overall service to fail , Avoid cascading faults ( Service avalanche ), Improve the flexibility of distributed systems .


# 1. effect
- hystrix To protect the microservice system Realization service degradation   Service failure

- Service avalanche  
- service degradation
- Service failure

版权声明
本文为[Leon_ Jinhai_ Sun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/113/202204232157392905.html