Goal: Automatically handle transient failures.
Automatically retry jobs that return an error. The system should allow users to define a retry policy, including the maximum number of attempts and an exponential backoff strategy to avoid "thundering herd" issues.
- wrapping the user's
Job in a retry-aware function.
- should support strategies: Constant, Linear, or Exponential backoff.
Question: Does it make sense to implement this logic inside the package itself, or should retries be handled dynamically at the service or API layer?
Goal: Automatically handle transient failures.
Automatically retry jobs that return an error. The system should allow users to define a retry policy, including the maximum number of attempts and an exponential backoff strategy to avoid "thundering herd" issues.
Jobin a retry-aware function.Question: Does it make sense to implement this logic inside the package itself, or should retries be handled dynamically at the service or API layer?