DEV Community

David Brewer
David Brewer

Posted on

What do you do if a microservice in your ecosystem goes down?

At least once a month I find myself in a moment where multiple servers, or a single point of failure server, is down. I worked back-end for years but now that I work on front-end products in a React project space, I really notice this issue more and would love to find a solution for this.

If a server in your microservice ecosystem is down, what do you do? Every time it happens I think of running the back-end projects locally to keep working, but when you have a large set of servers to run, its very complex to get every project running.

Top comments (1)

rslak profile image

Build observability to your micro services and that way you will know the reasons why it was down. It is basically setting up logging, metrics and alerts in your codebase and deployment. If it is cloud based deployment, there are services that are prebuilt and ready for use like azure app insights. If you have on premise deployment, then you can rely on custom logging and OSS telemetry products