Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Research Chunking large files over HTTP protocol #53

Closed
bdolor opened this issue May 8, 2018 · 1 comment
Closed

Research Chunking large files over HTTP protocol #53

bdolor opened this issue May 8, 2018 · 1 comment

Comments

@bdolor
Copy link
Contributor

bdolor commented May 8, 2018

transferring large files over http requires a lot of server resources. Will look at chunking in order to get around this limitation.

@bdolor bdolor created this issue from a note in Quality and Engagement (Sprint Backlog) May 8, 2018
@bdolor bdolor mentioned this issue May 8, 2018
@bdolor bdolor changed the title Chunking large files over HTTP protocol Research Chunking large files over HTTP protocol May 8, 2018
@bdolor bdolor moved this from Sprint Backlog to Doing in Quality and Engagement May 8, 2018
@bdolor bdolor self-assigned this May 8, 2018
@bdolor bdolor moved this from Doing to Sprint Backlog in Quality and Engagement May 8, 2018
@bdolor bdolor moved this from Sprint Backlog to Doing in Quality and Engagement May 9, 2018
@bdolor bdolor moved this from Doing to DONE in Quality and Engagement May 9, 2018
@bdolor bdolor removed their assignment May 9, 2018
@bdolor
Copy link
Contributor Author

bdolor commented May 10, 2018

long story short, at minimum, would require cnx to set transfer-encoding to chunked:

from https://gist.github.com/CMCDragonkai/6bfade6431e9ffb7fe88

Chunking is a 2 way street. The HTTP protocol allows the client to chunk HTTP requests. This allows the client to stream the HTTP request. Which is useful for uploading large files. However not many servers (except NGINX) support this feature, and most streaming upload implementations rely on Javascript libraries to cut up a binary file and send it by chunks to the server. Using Javascript gives you more control over the uploading experience, but the HTTP protocol would be the most simplest.

@bdolor bdolor closed this as completed May 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

No branches or pull requests

1 participant