Grokking Microservices Design Patterns
0% completed
Performance Implications and Special Considerations
Introducing a circuit breaker adds a small overhead to each call, since the program has to check the breaker's state and update counters. However, this overhead is usually minimal. In fact, it is a very small cost compared to the slowdown the system can suffer without a circuit breaker. Without a breaker, a failing service call might hold a thread for several seconds until a timeout. With a breaker, the failure is handled in milliseconds. In other words, a small check costs far less than a wider outage
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%