Chapter 5. When bad things happen: client resiliency patterns with Spring Cloud and Netflix Hystrix

This chapter covers

  • Implementing circuit breakers, fallbacks, and bulkheads
  • Using the circuit breaker pattern to conserve microservice client resources
  • Using Hystrix when a remote service is failing
  • Implementing Hystrix’s bulkhead pattern to segregate remote resource calls
  • Tuning Hystrix’s circuit breaker and bulkhead implementations
  • Customizing Hystrix’s concurrency strategy

All systems, especially distributed systems, will experience failure. How we build our applications to respond to that failure is a critical part of every software developer’s job. However, when it comes to building resilient systems, most software engineers only take into ...

Get Spring Microservices in Action 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.