1 What problem does Hystrix solve
Simply put, in a distributed system, if a request needs to call 10 services, if one of the 10 services has a problem with service A, the request will be blocked, so as long as the request to call service A will be blocked. block. Further, there is a problem with a service, which may cause all requests to be blocked, resulting in the unavailability of the entire distributed system. This is the "avalanche effect".
2 How does Hystrix solve these problems
- Thread Pool Isolation or Semaphore Isolation: Thread Pool Isolation