Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

fix: remove last pathway that gzips content en route to bucket #57

Merged
merged 2 commits into from
Feb 20, 2020

Conversation

nblair
Copy link
Contributor

@nblair nblair commented Feb 20, 2020

In #53, we found that disabling gzip compression unlocked some significant throughput gains. That change set left one remaining pathway where gzip compression would be performed by the google-cloud-storage dependency on blob content en route to the storage bucket.

The latest version of the google-cloud-storage dependency includes googleapis/java-storage@65d3739, which allows us to turn off GZIP compression on that remaining pathway.

This pull request pulls in that new library version and makes the last change needed.

The result is a 200% increase in throughput (47.7 requests/sec compared to 23.5 in #53):

Screen Shot 2020-02-20 at 12 38 06 PM

Stackdriver Profiler confirms the reduction in CPU utilization, dropping the CPU time spent on handling client requests to/from the bucket from 18.5% down to 1.1%:

Screen Shot 2020-02-20 at 12 27 21 PM

Fixes #56 .

Updates to latest version of google-cloud-storage which makes this possible.
@nblair nblair merged commit c974589 into master Feb 20, 2020
@nblair nblair deleted the update-storage-client branch February 20, 2020 19:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Eliminate GZIP compression on 32nd chunk during upload
1 participant