-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Throttling of S3 transfers #343
Comments
There is no functionality for max bandwidth. In terms automatic throttling, it means that it will do exponential backoff retry logic if request start failing due to throttling related issues (i.e. read timeouts). The best option you have as of now is setting the |
@kyleknap We should probably remove that snippet from the docstrings though. The intent was to implement it in the initial version, but given that it didn't make the first cut of this feature, we should probably remove it until we support this so other users don't get confused. |
Thanks for the response. Unfortunately I don't think passing values for It would be great if this could be considered for a feature addition on either the AWS S3 CLI or even just this particular library. Thus far I haven't been able to find a practical solution that will allow me to control bandwidth usage, at least not on Windows platforms. |
This is the same as aws/aws-cli#1090 |
Sorry to necropost but i feel if someone else had the same issue they wouldn't be resolving their issue with using trickle after seeing this post. Trickle and large s3 files will cause the trickle to crash using boto3 with 10 concurrent(default settings) uploads, changing the concurrent uploads will resolve the issue. |
According to the comments in boto3/s3/transfer.py it is possible for S3 transfers to be throttled based on user-configurable max bandwidth setting:
https://github.com/boto/boto3/blob/develop/boto3/s3/transfer.py#L21
I've been browsing this repo as well as the botocore repo for the last 20 minutes or so but can't find any further reference to any throttling behaviour nor a configuration option for max bandwidth.
Does this functionality exist or was it a planned feature that hasn't been implemented yet? If its the latter, when is this functionality due to be completed? I'm currently doing long-term uploads to S3 and am looking for something to limit the bandwidth use in order to prevent network saturation.
The text was updated successfully, but these errors were encountered: