O'Reilly logo

TypeScript Microservices by Parth Ghiya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Fault tolerance

A load balancer helps to monitor the health of the backend instances. If one of the instances is unavailable, it would be marked as unavailable. Similarly, if the instances are healthy, it would be available to serve the requests. Traffic would be routed only to available healthy instances. This provides a fault tolerant application so the traffic reaching the application is not affected when we have unavailable instances in the backend. However, if none of your systems are unavailable in the backend to serve requests, the load balancer marks all the instances as unhealthy and users will be affected by an unavailable application.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required