DEV Community

Discussion on: Fantastic Microservice and the Sorcerer's Circuit Breaker

Collapse
 
samsadsajid profile image
SajidSamsad • Edited

No. Fault tolerant system (the circuit breaker) is not a microservice. It's a module that lies in your service. Say, your service A is depending on service B, then you put the circuit breaker inside service A which monitors all the requests that service A is sending to the service B. And based on all the parameters you set for the circuit breaker, it either goes to one of the three state mentioned in the article.

The circuit breaker keeps it's matrices in the runtime.

So, long story short, circuit breaker is a module/library that lies inside your service. It's not a separate service.