-
Notifications
You must be signed in to change notification settings - Fork 804
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
S3TransferManager V2 - Support for Upload Pause/Resume #3120
Comments
Hi @sabramson01, thanks for reaching out and glad you see improvements in v2! This feature is definitely on our radar; in fact, we are working on pause/resume for download right now in #3094 and will tackle upload pause/resume next :). Do you have any feedback on v1's pause/resume implementation? Is there any specific change that you would like to see in v2? |
Hi @zoewangg, any update for the feature progress? |
@freshmanken Pause/resume for download is done. We are planning to start the implementation for pause/resume for upload soon |
Just a quick update, PR #3357 to support pause/resume for upload has been merged, but we have not released it yet. We will post it here once the change is released |
To provide an update, we have released the change in |
|
hello @zoewangg I am following samples mentioned here to pause and resume file upload to S3 bucket.
So, if I catch exception - I am able to persist upload information using I am using 2.20.0 version of |
Describe the feature
S3 TransferManager V1 included support for pause/restart of an upload. This feature is critical for certain scenarios within our application. We do see improvement leaps from TM v1 --> v2 in terms of performance and reliability however pause/resume upload is an important part of our user experience.
Is your Feature Request related to a problem?
Our application has a video component which is network transmission intensive. When a user has invoked this component we need to pause any current file uploads(typically 20GB - 60GB files) and allow most if not all network bandwidth to our video component. If we could pause the upload and resume later where we left off this would be a huge advantage for us.
Proposed Solution
Enable V2 S3TransferManager to include pause/resume functionality for multipart upload.
Describe alternatives you've considered
We have considered creating two multipart upload modes. The normal mode running 20 or so threads and 20MG chunk size. This would run when network bandwidth is available. A low resource mode when we are running our video component network bandwidth application. This would use 1 thread with 100k chunk size.
Acknowledge
AWS Java SDK version used
software.amazon.awssdk:s3:2.17.109
JDK version used
java 8
Operating System and version
ubuntu 18.04.2
The text was updated successfully, but these errors were encountered: