Spring Cloud Hystrix for fault-tolerant microservices

This section will explore the Spring Cloud Hystrix as a library for fault-tolerant and latency-tolerant microservice implementation. The Hystrix is based on fail-fast and rapid recovery principles. If there is an issue with a service, Hystrix helps isolate the issue. It helps to fail-fast quickly by falling back to another preconfigured fallback service. It is another battle-tested library from Netflix and is based on the Circuit Breaker pattern.

Read more about the Circuit Breaker pattern at https://msdn.microsoft.com/en-us/library/dn589784.aspx.

In this section, we will build a circuit breaker with the Spring Cloud Hystrix. Follow these steps to change the Search API Gateway service ...

Get Spring 5.0 Microservices - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.