Grokking Microservices Design Patterns
Ask Author
Back to course home

0% completed

Performance Implications and Special Considerations
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

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’s a negligible cost compared to the potential performance degradation of not having a circuit breaker. Without a breaker, a failing service call might tie up a thread for several seconds until a timeout, whereas with a breaker the failure is handled in milliseconds. In other words, a tiny check is a small price to pay for avoiding a meltdown

.....

.....

.....

Like the course? Get enrolled and start learning!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible