11
How would you make a service more resilient to dependency failures?
Tap to write answer
0 words | 0 charsPress Enter ↵ to reveal
Your Attempt
0 wordsRefined Model Answer
ReferenceI would identify the critical dependencies and decide what can be cached, degraded, retried, or isolated. Then I would design timeouts, fallbacks, and circuit breakers so one dependency cannot take down the whole service. The reason I choose this approach is that resilience comes from planning for partial failure, not hoping dependencies always work. I would also think about queueing, bulkheads, and whether the service can continue in a limited mode. If the interviewer wants more detail, I would connect the design to a specific production failure scenario.