GCS - NPM dependencies
See original GitHub issueUsing GCS in Google Cloud Functions, the number of dependencies matters hugely in order to improve cold starts. I use GCS for one short upload (logging) and it seems like it is hurting my cold start times as it has over a hundred dependencies in total.
+ @google-cloud/storage@1.7.0
added 106 packages from 121 contributors in 7.289s
Are you folks caching your own packages for faster loading or not really?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
@google-cloud/storage - npm
Dependencies cannot be kept up-to-date. Client libraries targeting some end-of-life versions of Node.js are available, and can be installedΒ ...
Read more >Manage Node.js packages - Artifact Registry - Google Cloud
When you specify a package as a dependency in package.json , ensure that you include the scope for the repository. The following example...
Read more >webpack-gcs-plugin - npm Package Health Analysis - Snyk
All security vulnerabilities belong to production dependencies of direct and indirect packages. License: MIT. Security Policy: No. We foundΒ ...
Read more >CHANGELOG.md - googleapis/nodejs-storage - GitHub
This patch release fixed an issue affecting reading from a file on GCS (#528). Dependencies. fix(dep): upgrade teeny-request to v3.11.3 (#529); fix(deps):Β ...
Read more >Caching dependencies with Google Cloud Build and GCS
Caching dependencies with Google Cloud Build and GCS ... restore our gradle and npm dependencies ( $HOME/.gradle and $HOME/.npm ) into GCS,Β ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is something weβre actively looking to fix. Most of those dependencies come in with
request
, so removing that is somewhat delicate work. We are actively working towards it though πThis was fixed in #619 π On master as of now: