diff --git a/multi/multi__circuit_breaker_hystrix_clients.html b/multi/multi__circuit_breaker_hystrix_clients.html index e94c031f3..72f82e25a 100644 --- a/multi/multi__circuit_breaker_hystrix_clients.html +++ b/multi/multi__circuit_breaker_hystrix_clients.html @@ -1,9 +1,9 @@
Netflix has created a library called Hystrix that implements the circuit breaker pattern. -In a microservice architecture, it is common to have multiple layers of service calls, as shown in the following example:
A service failure in the lower level of services can cause cascading failure all the way up to the user. +In a microservice architecture, it is common to have multiple layers of service calls, as shown in the following example:
A service failure in the lower level of services can cause cascading failure all the way up to the user.
When calls to a particular service exceed circuitBreaker.requestVolumeThreshold (default: 20 requests) and the failure percentage is greater than circuitBreaker.errorThresholdPercentage (default: >50%) in a rolling window defined by metrics.rollingStats.timeInMilliseconds (default: 10 seconds), the circuit opens and the call is not made.
-In cases of error and an open circuit, a fallback can be provided by the developer.
Having an open circuit stops cascading failures and allows overwhelmed or failing services time to recover. +In cases of error and an open circuit, a fallback can be provided by the developer.
Having an open circuit stops cascading failures and allows overwhelmed or failing services time to recover. The fallback can be another Hystrix protected call, static data, or a sensible empty value. Fallbacks may be chained so that the first fallback makes some other business call, which in turn falls back to static data.
To include Hystrix in your project, use the starter with a group ID of org.springframework.cloud
and a artifact ID of spring-cloud-starter-netflix-hystrix.
diff --git a/multi/multi__circuit_breaker_hystrix_dashboard.html b/multi/multi__circuit_breaker_hystrix_dashboard.html
index e2f580411..2dcc511c1 100644
--- a/multi/multi__circuit_breaker_hystrix_dashboard.html
+++ b/multi/multi__circuit_breaker_hystrix_dashboard.html
@@ -1,4 +1,4 @@
One of the main benefits of Hystrix is the set of metrics it gathers about each HystrixCommand. -The Hystrix Dashboard displays the health of each circuit breaker in an efficient manner.
"/eureka/**"); super.configure(http); } -}
For more information on CSRF see the Spring Security documentation.
A demo Eureka Server can be found in the Spring Cloud Samples repo.