GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remover 5 concurrent connection limit for GCS? · Issue #522 · googleapis/google-cloud-node

Remover 5 concurrent connection limit for GCS? #522

New issue
Copy link
New issue
Copy link
Closed
Closed
Remover 5 concurrent connection limit for GCS?#522
Copy link
Assignees
stephenplusplus
Labels
api: storageIssues related to the Cloud Storage API.
Milestone
Storage Future

Description

@jgeewax
jgeewax
opened on May 4, 2015
Issue body actions

Using the following sample code:

// Include required NPM dependencies
var express = require('express');
var gcloud = require('gcloud');

// Initialize app and GCloud GCS module
var app = express();
var gcs = gcloud.storage({ projectId: '...', keyFilename: './key.json' });

// Create one route to proxy a file from GCS
app.get('/my-file.zip', function(req, res) {
  var bucket = gcs.bucket('my-bucket');
  var file = bucket.file('my-file.zip');
  var readStream = file.createReadStream();
  return readStream.pipe(res);
});

// Listen on a port
app.listen(8080);

We're seeing that we're limited to 5 concurrent connections to GCS. This sucks when the server running this code can handle far more than 5 concurrent connections -- as we're shoving N connections through a 5-connection pipe.

From @robertdimarco:

By default, requests to GCS are pooled and limited to 5 concurrent connections.

Node.js, prior to v0.12 or io.js, automatically pools outbound requests to five concurrent requests per host. This can be overridden globally per-application or on a per-package basis. Our prior integration with AWS / S3 had disabled this limit at the package level, anticipating our use case. Node.js v0.12 and io.js both remove this pooling altogether.

Can we remove the connection pooling limits for our server process altogether ? (also see https://github.com/substack/hyperquest#rant)

Reacted by Michael Prentice

Activity

Next
  1. jgeewax
    added
    enhancement
    perf
    api: storageIssues related to the Cloud Storage API.
    on May 4, 2015
  2. jgeewax
    added this to the Storage Future milestone on May 4, 2015
  3. stephenplusplus
    added 4 commits that reference this issue on May 4, 2015

    global: remove socket limit - fixes googleapis#522

    This issue will close once commit 8dbe588 is merged into the 'master' branch.
    8dbe588

    global: remove socket limit - fixes googleapis#522

    This issue will close once commit bb1186b is merged into the 'master' branch.
    bb1186b

    global: remove socket limit - fixes googleapis#522

    This issue will close once commit 5e28aa9 is merged into the 'master' branch.
    5e28aa9

    global: remove socket limit - fixes googleapis#522

    This issue will close once commit 4188eb3 is merged into the 'master' branch.
    4188eb3
  4. stephenplusplus commented on May 5, 2015

    @stephenplusplus
    stephenplusplus
    on May 5, 2015
    Contributor
    More actions

    Thanks for the help on these issues @robertdimarco!

  5. stephenplusplus
    closed this as completedin 4188eb3on May 5, 2015
  6. ryanseys
    added a commit that references this issue on May 5, 2015

    Merge pull request #528 from stephenplusplus/spp--global-remove-socke…

    This issue will close once commit f145a7f is merged into the 'main' branch.
    f145a7f
  7. JustinBeckwith
    assigned
    stephenplusplus
    on Feb 1, 2021
  8. chingor13
    added 3 commits that reference this issue on Aug 22, 2022

    fix: Updating WORKSPACE files to use the newest version of the Typesc…

    1778126

    fix: Updating WORKSPACE files to use the newest version of the Typesc…

    3287af1

    fix: Updating WORKSPACE files to use the newest version of the Typesc…

    4848067
  9. 18 remaining items

  10. GautamSharda
    added 3 commits that reference this issue on Jan 14, 2026

    build: missing closing paren in publish script (#522)

    f3e268c

    chore: add api-logging to codeowners (#522)

    3b920f9

    build: missing closing paren in publish script (#522)

    ab8ef4c
  11. miguelvelezsa
    added a commit that references this issue on Jan 21, 2026

    chore: migrate to owl bot (#522)

    b931126
  12. GautamSharda
    added a commit that references this issue on Jan 21, 2026

    build: missing closing paren in publish script (#522)

    6f91ead
  13. GautamSharda
    added 2 commits that reference this issue on Feb 2, 2026

    build: missing closing paren in publish script (#522)

    0196a89

    build: missing closing paren in publish script (#522)

    b5340ac
  14. sofisl
    added a commit that references this issue on Feb 4, 2026

    chore: migrate to owl bot (#522)

    b4c86a3
  15. GautamSharda
    added a commit that references this issue on Feb 5, 2026

    chore: add api-logging to codeowners (#522)

    9edcecf
  16. GautamSharda
    added a commit that references this issue on Feb 23, 2026

    chore: add api-logging to codeowners (#522)

    9fdcd30
  17. sofisl
    added a commit that references this issue on Feb 24, 2026

    Release @google-cloud/firestore v0.20.0 (#522)

    3ee7f9e
  18. GautamSharda
    added a commit that references this issue on Feb 26, 2026

    chore: add api-logging to codeowners (#522)

    6db2818
  19. sofisl
    added a commit that references this issue on Feb 26, 2026

    fix: throw on invalid credentials (#522)

    c651cb9
  20. GautamSharda
    added 2 commits that reference this issue on Mar 5, 2026

    chore: release 5.1.3 (#522)

    1a4cf1a

    refactor(typescript): noImplicitAny for message-stream test file (#522)

    944c259
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

Labels

api: storageIssues related to the Cloud Storage API.

Type

No type

Projects

No projects

    Milestone

    • Storage Future

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.