· Manikandan · Microservices
Day 26: Circuit Breaker
A circuit breaker sits between your service and a dependency it calls (a fraud-scoring API, a payment gateway, another microservice).
A circuit breaker sits between your service and a dependency it calls (a fraud-scoring API, a payment gateway, another microservice).
3rd Party Registration is a service-discovery pattern where the service itself never talks to the service registry.
Self-Registration is a service-discovery pattern in which each service instance takes responsibility for announcing itself to the service registry when it starts, keeps that registration alive while it is healthy,...
Server-side discovery means the caller does not look up service instances at all.
Client-Side Discovery means the *caller* is responsible for finding a service instance.
A Service Registry is a live "phone book" for your services.