paint-brush
Circuit Breakers in Microservicesby@lastlegion
2,082 reads
2,082 reads

Circuit Breakers in Microservices

by Ganesh Iyer4mSeptember 23rd, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Circuit Breakers in Microservices are a design pattern used extensively in distributed systems to prevent cascading failures. In this post, we’ll go through the problem of cascading failure and go over how the circuit breaker pattern is used. The circuit breaker is implemented as an interceptor intercepting all requests from user service to friends service. It consists of 3 states: closed, open, closed or half-open. Some of the requests are allowed to pass to upstream others are terminated and responded with a default response.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Circuit Breakers in Microservices
Ganesh Iyer HackerNoon profile picture
Ganesh Iyer

Ganesh Iyer

@lastlegion

L O A D I N G
. . . comments & more!

About Author

Ganesh Iyer HackerNoon profile picture
Ganesh Iyer@lastlegion

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite