How to recognize 500 or 503 response as rate-limit

0

Hi, In this guide https://docs.aws.amazon.com/AmazonS3/latest/userguide/optimizing-performance.html you are mentioning that high rate of requests to S3 might end up in 500 or 503. I want to know if there is a way to find out if a specific 500 or 503 response is happening as a rate-limit mechanism result or not, and eventually if a specific request is retry-able.

Thanks ahead

Omer
질문됨 8달 전264회 조회
1개 답변
0

Hi, have a look at https://aws.amazon.com/premiumsupport/knowledge-center/http-5xx-errors-s3/ to troubleshoot HTTP 500 or 503 error from Amazon S3.

Also have a look at:

https://aws.amazon.com/premiumsupport/knowledge-center/s3-503-within-request-rate-prefix/

If there is a fast spike in the request rate for objects in a prefix, Amazon S3 might return 503 Slow Down errors while it scales in the background to handle the increased request rate. To avoid these errors, you can configure your application to gradually increase the request rate and retry failed requests using an exponential backoff algorithm [1].

[1] https://docs.aws.amazon.com/general/latest/gr/api-retries.html

AWS
snathan
답변함 8달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠