Implement Retry Mechanism - Java Interview Question
Solving Java Interview Questions
Question
You are designing a service that needs to communicate with an external API, which occasionally fails due to transient network issues. Describe how you would implement a retry mechanism, to handle these failures.
Followup, explain when you would use a circuit breaker instead of a retry mechanism, and discuss the scenario of implementing both of th…


