Service fuse

Hystrix fuse

Netflix 'Hystrix is the first dedicated to the service middleware blown. When it is released to the public in 2012, in order to provide "greater tolerance for delay and failure" micro-service architecture, Netflix has been widely used in more than a year's time inside. According to the project description, Hystrix has been an essential part of Netflix service middleware, into maintenance mode until the end of 2018, which marks "[focus] steering more responsive to achieve real-time performance of the application, rather than a pre-configured settings. "

Hystrix is a Java library, developers can use it with a fuse logic package service call. It is based on a threshold, it can be determined immediately perform call fails and rollback logic, with particular reference to the first portion . In addition to providing timeouts and concurrency limits, it also can be released to the monitoring tools measure metrics. Finally, when the Archaius when used with the library, it can support dynamic configuration changes.

Service grid fuse

same

Istio is a grid service that supports connection pooling fuse-based, requests and fault detection parameters for each connection. It is to do this with the help of so-called "destination rule (destination rules)", which is what the rules tell each Envoy agent is applied to the communication strategy, and how to apply. This step occurs after routing, but this is not always ideal. Target rules can be specified limit load balancing, connection pool size, and ultimately meet the parametric conditions of "outliers" so you can remove the unhealthy instances from the load balancing pool. This type of fuse is good at the client from the effects of server failure, but because the rules are always the target application within a cluster, so it lacks a way to be limited to a subset of clients breaker. In order to achieve breaker and service quality mode (quality-of-service) combination, you must create multiple routing rules set client machine, and each subset has their own goals rule.

Guess you like

Origin www.cnblogs.com/lingboweifu/p/11897676.html