Skip to content

Change default chunk size from 4Kb to 64Kb#1345

Merged
Kludex merged 3 commits intomasterfrom
change-default-chunk-size
Dec 5, 2021
Merged

Change default chunk size from 4Kb to 64Kb#1345
Kludex merged 3 commits intomasterfrom
change-default-chunk-size

Conversation

@Kludex
Copy link
Owner

@Kludex Kludex commented Nov 27, 2021

@tomchristie On that issue, you said that "httpx uses 64k read size", but I couldn't find that. Do you mind pointing me out what did you mean?

@dalf
Copy link

dalf commented Dec 3, 2021

@Kludex
Copy link
Owner Author

Kludex commented Dec 3, 2021

Thanks @dalf ! Much appreciated! 🎉

@Kludex Kludex requested a review from florimondmanca December 3, 2021 17:47
Copy link
Contributor

@florimondmanca florimondmanca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! That's quite a similar change to the one we made in HTTPX indeed, and for the same reason (improving transfer speed by using larger chunks).

@Kludex
Copy link
Owner Author

Kludex commented Dec 5, 2021

Thanks @florimondmanca ! 🎉

@Kludex Kludex merged commit 1d1dcba into Kludex:master Dec 5, 2021
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.

Make FileResponse.chunk_size variable

3 participants