-
Notifications
You must be signed in to change notification settings - Fork 22
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
Increase download speed #28
Comments
Playing with this a bit I really don't see any real performance difference when I change the chunk size on my machine and network, but using a common |
This sounds very useful as this should get the TLS connection alive. This is probably the major cost for very small packages. |
Use requests.Session to improve download speed (issue #28)
The code currently uses a chunk size of 1024 bytes. Consider using a much larger size (1MB)
Also consider using a session.
See https://stackoverflow.com/questions/23369625/ideal-chunk-size-for-python-requests
The text was updated successfully, but these errors were encountered: