Skip to content

HTTP retry on 503 status code #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dentiny
Copy link
Contributor

@dentiny dentiny commented Apr 13, 2025

I saw discussion thread: duckdb/duckdb#6153, which mentions 503 is a status code which indicates slow response and should be retried.

Copy from AWS official doc:

If you are not using an AWS SDK, you should implement retry logic when receiving the HTTP 503 error.

Ref: https://docs.aws.amazon.com/AmazonS3/latest/userguide/optimizing-performance-design-patterns.html#optimizing-performance-timeouts-retries

Other reference docs: https://docs.digitalocean.com/products/spaces/details/limits/#:~:text=Applications%20should%20retry%20with%20exponential%20backoff%20on%20503%20Slow%20Down%20errors.
(more in the discussion thread)

@dentiny
Copy link
Contributor Author

dentiny commented Apr 13, 2025

The error message doesn't look related to my change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant