Sobes.tech
Middle

What exactly did you describe in the scenario of external service unavailability?

sobes.tech AI

Answer from AI

In the scenario of external service unavailability, I describe:

  • Conditions under which the service becomes unavailable (e.g., timeouts, network errors).
  • How the system should respond: retries, switching to a backup service, returning an error to the user.
  • Time frames and the number of retry attempts.
  • Logging and notifications for incident monitoring.
  • Impact on business processes and ways to minimize damage.

For example, if an external API does not respond for more than 5 seconds, the system makes 3 retry requests with exponential backoff, then switches to cached data and sends an alert to the support team.