How a circuit breaker protects a failing service
How a circuit breaker protects a failing service
Three failures in a row and the breaker trips.
While it is open, calls fail at once instead of piling onto a service that is already down. After a pause it lets one test call through, and if that works it closes again.
Save it for your next system design interview.
#systemdesign #microservices #softwareengineering #backend #technology