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 — Storage: Consider externalising http configuration · Issue #34 · googleapis/python-storage

This repository was archived by the owner on Mar 31, 2026. It is now read-only.
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Storage: Consider externalising http configuration #34

Copy link
Copy link
Closed
Closed
Storage: Consider externalising http configuration#34
Copy link
Assignees
tseaver
Labels
api: storageIssues related to the googleapis/python-storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@ravindranathakila
ravindranathakila
opened on Dec 7, 2017
Issue body actions

https://cloud.google.com/storage/quotas

self.storage_client: Client = storage.Client.from_service_account_json(config_json_path)
adapter: HTTPAdapter = self.storage_client._connection.http.adapters["https://"]
self.storage_client._connection.http.adapters["https://"] = HTTPAdapter(pool_connections=1000, pool_maxsize=1000, pool_block=adapter._pool_block)

Activity

  1. dhermes commented on Dec 7, 2017

    @dhermes
    dhermes
    on Dec 7, 2017
    Contributor
    More actions

    @ravindranathakila I'm unclear what the action item is for us here?

  2. ravindranathakila commented on Dec 8, 2017

    @ravindranathakila
    ravindranathakila
    on Dec 8, 2017
    Author
    More actions

    Do please consider properly externalising the http configuration so that it can be tweaked for high throughput systems. Especially when using storage.Client.from_service_account_json()

    Right now, having to set _connection implies it isn't externalised. Unless the library is able to "auto-detect" the ideal configuration given large-files/low-throughput small-files/high-throughput average-files/average-throughput, I suggest you don't hide this.

  3. chemelnucfin
    assigned
    tseaver
    ,
    dhermes
    and
    chemelnucfin
    on Jan 15, 2018
  4. tseaver
    changed the title [-]Google Cloud Storage Supports 1000 Writes Per Second By Default. Do you?[/-] [+]Storage: Consider externalising http configuration[/+] on Apr 10, 2018
  5. tseaver
    unassigned
    chemelnucfin
    ,
    tseaver
    and
    dhermes
    on Apr 10, 2018
  6. sangramql commented on Jun 20, 2019

    @sangramql
    sangramql
    on Jun 20, 2019
    More actions

    @tseaver please suggest the expected implementation and approach.

  7. tseaver commented on Jun 20, 2019

    @tseaver
    tseaver
    on Jun 20, 2019
    Contributor
    More actions

    @sangramql There isn't an "obvious" design for this one.

    @ravindranathakila I'm not clear on what you are thinking here. The _connection here doesn't hold any configuration which would affect how blob instances are uploaded / downloaded: it wraps an instance of an object supporting the requests.Session interface (normally a google.auth.transport.requests.AuthorizedSession instance).

    The parameter which most affects "througput" is chunk_size, which can be passed to a Blob constructor (or set on it afterwards).

  8. crwilcox
    transferred this issue fromgoogleapis/google-cloud-pythonon Jan 31, 2020
  9. product-auto-label
    added
    api: storageIssues related to the googleapis/python-storage API.
    on Jan 31, 2020
  10. yoshi-automation
    added
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Feb 3, 2020
  11. frankyn
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    and removed
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Feb 4, 2020
  12. tseaver commented on Aug 17, 2020

    @tseaver
    tseaver
    on Aug 17, 2020
    Contributor
    More actions

    @ravindranathakila Please feel free to follow up / reopen if you can provide more clarity.

  13. tseaver
    closed this as completedon Aug 17, 2020
  14. ravindranathakila commented on Aug 18, 2020

    @ravindranathakila
    ravindranathakila
    on Aug 18, 2020 via email
    Author
    More actions
    No worries. The GCS API is nothing much to love; to date.
    …
    On Tue, 18 Aug 2020, 6:03 am Tres Seaver, ***@***.***> wrote: @ravindranathakila <https://github.com/ravindranathakila> Please feel free to follow up / reopen if you can provide more clarity. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAJRF7F7LJQU4CLZRJHFYALSBGSMJANCNFSM4KOPDLPA> .
  15. JustinBeckwith
    assigned
    tseaver
    on Feb 1, 2021
  16. vchudnov-g
    added a commit that references this issue on Jan 13, 2026

    chore: librarian release pull request: 20260113T144551Z (#1704)

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

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

api: storageIssues related to the googleapis/python-storage API.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

    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.