How do you prevent a 'Retry Storm' when a downstream service is struggling?
Last updated
A retry storm is many clients retrying a struggling service at once, multiplying load when it can least handle it.
Tame retries: exponential backoff with jitter, capped attempts, retry at only one layer, and retry budgets (e.g. at most 10% of requests).
Use circuit breakers to fail fast once failures cross a threshold. Let the server push back with
Retry-Afterheaders and load shedding.
- https://www.ashokit.in/blog/top-microservices-interview-questions-and-answers
- https://underdog.io/blog/software-engineer-interview-questions
- https://medium.com/@sumitkumarsharma/migrating-to-microservices-with-the-strangler-pattern-221d840bbf7f
- https://staragile.com/blog/microservices-interview-questions
- https://blog.stackademic.com/microservices-tricky-interview-questions-must-know-8265a6ef81ee
- https://www.turing.com/interview-questions/microservices
- https://blog.stackademic.com/microservices-must-know-interview-questions-442506cb4e69
- https://www.javacodegeeks.com/2024/08/mastering-microservices-tricky-interview-questions-and-answers.html
- https://blog.devgenius.io/inbox-outbox-pattern-building-reliable-systems-in-distributed-architectures-912a3246c4c4
- https://sumitmm.medium.com/5-essential-microservices-interview-questions-for-senior-developers-with-detailed-answers-1d21b8106373
- https://www.vinsys.com/blog/microservices-interview-questions
- https://medium.com/ultimate-systems-design-and-building/choreography-vs-orchestration-in-microservices-which-saga-strategy-should-you-choose-be0bb700a1d2
- https://metoro.io/blog/microservice-interview-questions
- https://dev.to/vivek1030/microservice-questions-46kb
- https://preparingforcodinginterview.wordpress.com/2020/06/30/orchestration-vs-choreography/