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

Better streams #331

Merged
merged 1 commit into from
Dec 24, 2014
Merged

Better streams #331

merged 1 commit into from
Dec 24, 2014

Conversation

ryanseys
Copy link
Contributor

This removes the buggy multipart-stream library and uses the new request library capabilities to upload streams. Uploading a 3GB file on old implementation would cause node to immediately allocate 3GB of memory. Now Node consumes memory as it uses it. In my tests with the 3GB file, the memory usage did not exceed 100MB.

Fixes #327
Fixes #236

@rakyll can you review?

Edit: Please :)

ryanseys added a commit that referenced this pull request Dec 24, 2014
@ryanseys ryanseys merged commit 8a96cb3 into googleapis:master Dec 24, 2014
@ryanseys ryanseys deleted the better-streams branch December 24, 2014 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant