once it detects repeated failures, it stops sending requests to the unhealthy service for some time.
the rest of the system can continue working, maybe with cached data or a fallback response.
also these chain of failures are called "Cascading failures"
if the feed keeps calling the profile service, those requests can keep waiting and consume resources. this can eventually affect the feed and even other services like recommendations and notifications.
this is where a circuit breaker helps.
studied about circuit breakers today and realised how useful they are in real world systems, to understand this better let me explain with an example:
let’s take a social media app.
suppose the profile service is overloaded and starts responding slowly or failing.
INTERNATIONAL HUNDRED AFTER 1021 DAYS - The wait was over for Virat Kohli "OTD in 2022". 🐐
- The Greatest redemption and ruling the white ball format forever.
The turnaround, Kohli 2.0 🥶
420 Followers 364 FollowingDocumenting technical learnings | Code + explanations
Building in the digital realm ⚙️ | Debugging life 🐛 |Prev.Intern @clcoding|Prev.Intern @thita_ai
30 Followers 190 Following SSC 26 winner , Open-source contributor
Building whatever catches my interest. Sharing the experiments, decisions, and lessons along the way
379 Followers 7K FollowingMy goal is to identify the biggest problems in the world and build systems that solve them efficiently, so humanity can thrive.
727 Followers 638 FollowingFounder de https://t.co/JuaJXYOLlt . Je mesure si ChatGPT, Perplexity, Gemini et Claude recommandent votre marque face à vos concurrents, et comment progresser.
123 Followers 239 FollowingEngineer - NIT J • Amazon MLSS'26 • AI • Open-source contributor • Larping
Building and learning along the way 🇮🇳🇶🇦
https://t.co/VGZEdNfHIW
506 Followers 2K FollowingWe sell all kinds of motorcycles, electric bikes, big of rice, tricycles and other, we deliver nationwide. Call or WhatsApp 08131987887 Logos, Nigeria.
245 Followers 363 FollowingCS undergraduate| Building real-world solutions in IoT, Systems Analysis, Data & Cybersecurity | Christian ✝️ | Barça ⚽ | Burna Boy 🎶
1.8M Followers 2 FollowingClaude is an AI assistant built by @anthropicai to be safe, accurate, and secure. Talk to Claude on https://t.co/ZhTwG8d1e5 or download the app.
1.5M Followers 269 FollowingThe engine room of @Google. Building AI safely and responsibly to solve the world’s most complex problems. Join us: https://t.co/jUHQA27iBL
420 Followers 364 FollowingDocumenting technical learnings | Code + explanations
Building in the digital realm ⚙️ | Debugging life 🐛 |Prev.Intern @clcoding|Prev.Intern @thita_ai
5 Followers 35 FollowingYour front desk never sleeps.
Done-for-you AI voice desk for Indian businesses.
Answers every call · Books appointments · Qualifies leads
865 Followers 552 FollowingBuilding products, recreating interactions and sharing how they're made
Full-stack engineer
Open to work & collaborations
https://t.co/VvaIb8de9s
4K Followers 545 FollowingMember of Technical Staff-1 @nielsen || Former Community Organiser @OSChandigarh || Python || Data Engineering || Backend Dev || Public Speaking