Skip to content

Storage API has poor performance in Google Cloud Functions #101

Closed
@dmho418

Description

@dmho418
edit by @stephenplusplus

Follow along in the Google issue tracker: https://issuetracker.google.com/issues/70555688


Environment details

  • Node.js version: v6.11.5
  • @google-cloud/storage version: 1.5.0

Steps to reproduce

The API seems to never reuse connections, which causes Cloud Functions using this API to have poor performance and blow up socket connection and DNS quotas very easily.
In the best practices guide (https://cloud.google.com/functions/docs/bestpractices/networking) they give the NodeJS PubSub as an example, which when declared globally will avoid uncesesary DNS queries and connections.

Could be because the configuration of the requests are hardcoded

forever: false,

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/nodejs-storage API.docsstatus: blockedResolving the issue is dependent on other work.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions