amazon-web-services - 亚马逊网络服务 S3 请求限制

标签 amazon-web-services amazon-s3 request limit

我正在使用 AWS 运行一些数据处理。我在 EC2 中有 400 个 Spot 实例,每个实例有 4 个进程,它们都写入 S3 中的单个存储桶。我开始收到一个(显然不常见的)错误说:

503: Slow Down



有谁知道 S3 存储桶的实际请求限制是多少?我找不到任何关于它的 AWS 文档。

谢谢!

最佳答案

由于临时错误,AWS 记录了 503。它不反射(reflect)特定限制。
根据有关处理错误的“使用 Amazon S3 的最佳实践”部分 ( http://aws.amazon.com/articles/1904/ ):

500-series errors indicate that a request didn't succeed, but may be retried. Though infrequent, these errors are to be expected as part of normal interaction with the service and should be explicitly handled with an exponential backoff algorithm (ideally one that utilizes jitter). One such algorithm can be found at http://en.wikipedia.org/wiki/Truncated_binary_exponential_backoff.

Particularly if you suddenly begin executing hundreds of PUTs per second into a single bucket, you may find that some requests return a 503 "Slow Down" error while the service works to repartition the load. As with all 500 series errors, these should be handled with exponential backoff.


虽然不太详细,但 S3 错误响应文档确实包含 503 Slow Down ( http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html )。

关于amazon-web-services - 亚马逊网络服务 S3 请求限制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17307373/

相关文章:

python - Boto3 S3 实例的 AWS 凭证放置在哪里

amazon-web-services - 获取文件从 SFTP 到 S3 AWS

python - 如何在 PUT 方法中给出 2 个参数?

reactjs - 在 aws amplify React js 应用程序中访问 SSM 参数存储值

amazon-web-services - AWS : AccessDeniedException when calling ssm:GetParameterHistory on SSM Parameter

javascript - Amazon S3 REST API 大小不正确

Python - 如何在第一次请求时出现 SSL 错误(URL 超出最大重试次数)?

request - 为什么 Sinatra 需要倒带请求体?

amazon-web-services - 无法使 HTTPS 在 CloudFront 和 Elastic BeanStalk 之间工作

mysql - Lambda AWS 不调用 Node mysql 回调