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: clean up write streams · Issue #400 · googleapis/google-cloud-node

Storage: clean up write streams #400

New issue
Copy link
New issue
Copy link
Closed
Closed
Storage: clean up write streams#400
Copy link
Assignees
stephenplusplus
Labels
🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.
Milestone
Storage Future

Description

@ryanseys
ryanseys
opened on Feb 18, 2015
Issue body actions

Looking at the file.createWritableStream, validation is intermixed with everything and some internal streams exist solely for validation purposes. We might want to consider having a fast-path for when validation: false which by-passes all this logic and extraneous streams. This should help with #397 when validation: false but I'll put it in Storage Future because for the default and recommended case, it probably won't help much.

Reacted by Michael Prentice

Activity

Next
  1. ryanseys
    added
    perf
    api: storageIssues related to the Cloud Storage API.
    on Feb 18, 2015
  2. ryanseys
    added this to the Storage Future milestone on Feb 18, 2015
  3. stephenplusplus commented on Feb 19, 2015

    @stephenplusplus
    stephenplusplus
    on Feb 19, 2015
    Contributor
    More actions

    👍, though not sure the added complexity this would likely introduce is worth the minimal memory savings.

  4. ryanseys commented on Feb 24, 2015

    @ryanseys
    ryanseys
    on Feb 24, 2015
    ContributorAuthor
    More actions

    I'm not sure of the overhead associated with creating streams in Node.JS but the author of the performance issue seems to suggest that it may play a role so this was an idea for reducing that. I'm with you, I don't think it will play a big difference but worth investigating. Plus createWriteStream is HUGE and might benefit from a cleanup.

  5. stephenplusplus
    changed the title [-]Create fast-path for validation: false in file.createWritableStream[/-] [+]Storage: clean up write streams[/+] on Mar 31, 2015
  6. stephenplusplus
    self-assigned this
    on Mar 31, 2015
  7. stephenplusplus commented on Mar 31, 2015

    @stephenplusplus
    stephenplusplus
    on Mar 31, 2015
    Contributor
    More actions

    I'm going to look into simplifying the logic of our write stream implementation.

  8. stephenplusplus commented on Aug 31, 2015

    @stephenplusplus
    stephenplusplus
    on Aug 31, 2015
    Contributor
    More actions

    Our streams have been cleaned up considerably in some recent PRs and refactors (#694, #820, #831). We now use modules to help us out, like gcs-resumable-upload & hash-stream-validation. We also found a cleaner way to use Request to make a multi-part upload. I think we can call this one resolved for now, and if we see room for improvements down the road, we'll be sure to jump.

    Reacted by Michael Prentice
  9. stephenplusplus
    closed this as completedon Aug 31, 2015
  10. yoshi-automation
    added
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Apr 6, 2020
  11. sofisl
    added a commit that references this issue on Sep 15, 2022

    chore(deps): update dependency mocha to v8 (#400)

    e83a7d9
  12. sofisl
    added 2 commits that reference this issue on Oct 12, 2022

    build(test): recursively find test files; fail on unsupported depende…

    6bdff61

    build(test): recursively find test files; fail on unsupported depende…

    9311c5b
  13. 24 remaining items

  14. GautamSharda
    added 2 commits that reference this issue on Feb 2, 2026

    chore: re-generated to pick up changes in the API or client library g…

    edecdc8

    chore: re-generated to pick up changes in the API or client library g…

    81e450c
  15. sofisl
    added 2 commits that reference this issue on Feb 4, 2026

    chore: regenerate synth.metadata (#400)

    21e2ad6

    fix(deps): update dependency google-auth-library to v4 (#400)

    26d437a
  16. GautamSharda
    added a commit that references this issue on Feb 5, 2026

    chore: fix the system tests (#400)

    2657788
  17. sofisl
    added a commit that references this issue on Feb 17, 2026

    fix(deps): update dependency google-auth-library to v4 (#400)

    80838b9
  18. GautamSharda
    added a commit that references this issue on Feb 23, 2026

    chore: fix the system tests (#400)

    ad93f0e
  19. sofisl
    added 2 commits that reference this issue on Feb 24, 2026

    docs: Misc JSDoc fixes (#400)

    1ae97dd

    Fix the requesterPays methods (#400)

    3ca957a
  20. GautamSharda
    added a commit that references this issue on Feb 26, 2026

    chore: fix the system tests (#400)

    18daa65
  21. GautamSharda
    added a commit that references this issue on Mar 5, 2026

    feat: ability to detect service context (#400)

    170c242
  22. sofisl
    added a commit that references this issue on Mar 5, 2026

    chore: migrate code from googleapis/gcp-metadata (#53)

    fa9a454
  23. GautamSharda
    added 2 commits that reference this issue on Mar 11, 2026

    fix(docs): add subscription expiration policy docs (#400)

    da39819

    Release @google-cloud/common v0.32.0

    f4ebb6a
  24. thiyaguk09
    added a commit that references this issue on Mar 18, 2026

    Fix the requesterPays methods (googleapis#400)

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

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

Labels

🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.

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.