10 Healthy microservices

This chapter covers

  • Techniques to ensure your microservices remain healthy
  • Logging and monitoring for microservices
  • Debugging microservices
  • Patterns for reliability and fault tolerance

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

We can’t avoid problems entirely. It doesn’t matter if these are caused by human error or unreliable infrastructure. It’s a certainty-problems ...

Get Bootstrapping Microservices with Docker, Kubernetes, and Terraform 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.