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

Add ability to configure io chunksize #35

Merged
merged 1 commit into from
Jul 21, 2016

Conversation

kyleknap
Copy link
Contributor

This is very important for environments that have very fast bandwidth and slow disk writes because if the io chunksize is too small it starts to become the bottleneck when downloading files.

This will be used to help address this issue: boto/boto3#691 as io chunksize configuration is needed to reach the CLI-level performance on those types of environments.

The reason we just do not update the default STREAM_CHUNK_SIZE to 1MB is that will totally destroy the granularity of callbacks and is not great for slow connections.

As more evidence for this change, the functional tests even needed the change as we would currently patch and return the value of STREAM_CHUNKS_SIZE in some of the functional download tests, which is a little hacky.

cc @jamesls @JordonPhillips

This is very important for environments that have very fast bandwidth
and slow disk writes because if the io chunksize is too small it starts
to become the bottleneck when downloading files.
@JordonPhillips
Copy link
Contributor

@kyleknap kyleknap merged commit b44c182 into boto:develop Jul 21, 2016
@kyleknap kyleknap deleted the io-chunksize branch July 21, 2016 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants