Limited Time Offer:Up to 20% off Hello Interview Premium
Up to 20% off Hello Interview Premium 🎉
Hello Interview
Your Dashboard
System Design
Code
Low Level Design
Behavioral
AI Coding
New
ML System Design
Salary Negotiation
Interview Guides
Blog
System Design
Low Level Design
AI Coding
Behavioral
New
Interview Questions
Success Stories
System Design
Low-Level Design
New
Ask The Community
Discord
Mock Interviews
1:1 Mentorship
Refer a Friend
Pricing
Sign in / Sign up
Search
⌘K
Pricing

Tutor

Circuit Breaker Pattern Implementation

Implement a Web API client with circuit breaker functionality that blocks requests to a service after 3 failures within 10 minutes, then reopens after a 5-minute recovery period. The system should prevent cascading failures by temporarily stopping calls to unhealthy services.

Asked at:

Uber

Wise


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Company
​
Level
All Regions
Region

Late April, 2026

Uber

Senior

Early January, 2026

Wise

Staff

If one of Service B or C has a problem, and we keep making API requests to them, it would create extra pressure on the failing service which would only make the problem worse. Ideally if we encounter too many failures under a certain period of time, we should block making requests to give time for the service to recover. To fix the problem we want you to implement a version of a Web API client that: When a number of failures happen, we stop making API requests to that service for a while. For this problem, we should stop calling a Service if we get 3 failures (e.g: Internal Server Error, Timeout) in last 10 minutes, but after 5 minutes we want to open the calls again to the service. Example scenario request being made to Service to B and Service C: Table Request time Service / API Response (status) 12:01 AM GET Service B Success (200) 12:02 AM GET Service B Failed (500) 12:03 AM GET Service B Failed (500) 12:04 AM GET Service B Failed (500) 12:05 AM GET Service B Blocked

Your account is free and you can post anonymously if you choose.

Hello Interview Premium

Recent interview questions
System Design Guided Practice
Exclusive content
Learn More
Questions
Meta SWE Interview QuestionsAmazon SWE Interview QuestionsGoogle SWE Interview QuestionsOpenAI SWE Interview QuestionsEngineering Manager (EM) Interview Questions
Learn
Learn System DesignLearn DSALearn BehavioralLearn ML System DesignLearn Low Level DesignGuided Practice
Links
FAQPricingGift PremiumHello Interview Premium
Legal
Terms and ConditionsPrivacy PolicySecurity
Contact
About UsProduct Support

7511 Greenwood Ave North Unit #4238 Seattle WA 98103


© 2026 Optick Labs Inc. All rights reserved.