Node.js · Senior · Question 36 of 75

What does a circuit breaker do?

Explanation

It prevents a slow dependency from tying up all resources and gives it time to recover. Combine it with timeouts and a fallback where possible.

Further reading

Problem with a question

Node.js · Senior · question 36

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz