11 Healthy microservices

This chapter covers

  • Techniques to ensure our microservices remain healthy
  • Using observability to understand the behavior of our microservices
  • Debugging microservices and Kubernetes
  • Patterns for reliability and fault tolerance

Errors happen. Code has bugs. Hardware, software, and networks are unreliable. Failures happen regularly for all types of applications, not just for microservices. But microservices applications are more complex, and so problems can become considerably more difficult to debug as we grow our application. The more microservices we maintain, the greater the chance at any given time that some of those microservices are misbehaving!

We can’t avoid problems entirely. It doesn’t matter if they are caused ...

Get Bootstrapping 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.