notes
2, Netflix breaker Hystrix introduction of open source components
Introduction: Introduction Hystrix basic knowledge and usage scenarios
document Address:
https://github.com/Netflix/Hystrix
https://github.com/Netflix/Hystrix/wiki
1, what is Hystrix ?
1) hystrix corresponding Chinese name is "porcupine"
2) hystrix English [hɪst'rɪks] United States [hɪst'rɪks]
2, Why?
In a distributed system, a service depends on more than one service, there may be a service call fails,
such as overtime, abnormal, how can we ensure that in the case of a dependency problem, and will not lead to overall service failure,
by Hystrix on can solve
http://cloud.spring.io/spring-cloud-netflix/single/spring-cloud-netflix.html#_circuit_breaker_hystrix_clients
3, provides a fuse, isolation, Fallback, cache, monitoring and other functions
4, the fuse how to deal with ?
After the error message error handling can fallback
fallback data
Start;
The request of a billion times there is a failure rate of 0.3 percent is three million times failed.
Porcupine is the outer layer of a sting to protect themselves.