Skip to content
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

feat: add option to disable parallel download #296

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

Conversation

jfroche
Copy link

@jfroche jfroche commented Apr 28, 2022

Some provider fails to comply with s3 parallel downloads.
Add an option to disable it

http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/transfer/TransferManager.html#download(com.amazonaws.services.s3.model.GetObjectRequest,%20java.io.File,%20com.amazonaws.services.s3.transfer.internal.S3ProgressListener)
AWS announce of parallel download: https://aws.amazon.com/blogs/developer/parallelizing-large-downloads-for-optimal-speed/

  • Please check if the PR fulfills these requirements
  • The commit message describes your change
  • Tests for the changes have been added if possible (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Changes are mentioned in the changelog (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    feature

  • What is the current behavior? (You can also link to an open issue here)
    All download are running in parallel. By parallel we mean the parts composing a file is downloaded in parallel.

  • What is the new behavior (if this is a feature change)?
    If user enable the option, the download are not running in parallel
    Behavior doesn't change if the user don't enable the option.

  • Does this PR introduce a breaking change? (What changes might users need to make in their setup due to this PR?)
    No, it is just feature flag

@jfroche jfroche force-pushed the feat/disable-parallel-download branch from e718db4 to 42cd0f7 Compare April 28, 2022 16:37
@jfroche jfroche force-pushed the feat/disable-parallel-download branch from 42cd0f7 to dc2ffa4 Compare April 28, 2022 16:47
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.

None yet

1 participant