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 — Expose support for asynchronous interactions · Issue #63 · googleapis/google-cloud-java

Expose support for asynchronous interactions #63

New issue
Copy link
New issue
Copy link
Closed
Closed
Expose support for asynchronous interactions#63
Copy link
Assignees
garrettjonesgoogle
Labels
🚨 criticalP0 critical issue. Requires immediate fixapi: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.

Description

@jboynes
jboynes
opened on May 14, 2015
Issue body actions

Servlet 3.1 and frameworks like Spring 4 support non-blocking request execution. This partially supported by the raw Storage API which exposes its HttpRequest objects with their executeAsync() operation. However, this does not support non-blocking transfers.

Full async support would allow an application to transfer data to/from Cloud Storage without having to consume a Thread while waiting for IO to complete.

Reacted by Les Vogel, Ophir Radnitz, Ori Popowski, rubenmartinez, Roberto Tyley and brianmaresca

Activity

Next
  1. jboynes
    added
    api: storageIssues related to the Cloud Storage API.
    on May 14, 2015
  2. aozarov commented on May 14, 2015

    @aozarov
    aozarov
    on May 14, 2015
    Contributor
    More actions

    I doubt that will change while using google-api-java-client (did you create a feature request there we can link too?), so the current plan is to support it for every service that is available via gRPC.

  3. jgeewax
    modified the milestone: This milestone has been deleted on Jun 1, 2015
  4. aozarov commented on Jun 1, 2015

    @aozarov
    aozarov
    on Jun 1, 2015
    Contributor
    More actions

    @jgeewax I don't this should not be a Needed for public announcement blocker but rather more of a future enhancement (when service supports it).

  5. jgeewax commented on Jun 2, 2015

    @jgeewax
    jgeewax
    on Jun 2, 2015
    More actions

    I can buy that. We could add these later pretty easily. Moving out the of the milestone.

  6. jgeewax
    removed this from the This milestone has been deleted milestone on Jun 2, 2015
  7. aozarov
    added this to the This milestone has been deleted milestone on Oct 10, 2015
  8. susanlinsfu commented on Apr 12, 2016

    @susanlinsfu
    susanlinsfu
    on Apr 12, 2016
    More actions

    +1

  9. lesv commented on May 6, 2016

    @lesv
    lesv
    on May 6, 2016
    Contributor
    More actions

    Turns out that AppEngine Standard has async support, Jetty 3.1 in Flex supports Async (at Top of Trunk), for generic Java, there is Apache's HttpAsyncClient

  10. garrettjonesgoogle commented on Nov 23, 2016

    @garrettjonesgoogle
    garrettjonesgoogle
    on Nov 23, 2016
    Contributor
    More actions

    I think we should just naturally surface the async functionality as we move each API to gRPC instead of having an old tracking issue. Closing this out.

  11. garrettjonesgoogle
    closed this as completedon Nov 23, 2016
  12. dminkovsky commented on Jul 29, 2017

    @dminkovsky
    dminkovsky
    on Jul 29, 2017
    More actions

    Has this been addressed elsewhere? I'm not finding another issue with this topic.

    What is currently the best way to stream a file from storage with Netty? As in https://github.com/netty/netty/blob/60250f3795d4082e59df6806dade2966ec583859/example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java#L188-L202.

  13. dminkovsky commented on Jul 29, 2017

    @dminkovsky
    dminkovsky
    on Jul 29, 2017
    More actions

    The way I have this working now is:

    ReadChannel reader = storage.reader("bucket", "blob");
    InputStream in = Channels.newInputStream(reader);
    ChunkedStream stream = new ChunkedStream(in);
    HttpChunkedInput input = new HttpChunkedInput(stream);
    

    I send the HttpChunkedInput stream through the Netty channel and ChuckedWriteHandler writes the stream out in chunks to the client.

    I wonder, though: the ReadChannel reader, is it non-blocking? I looked at the code and there are some functions that sleep the thread.

  14. yoshi-automation
    added
    triage meI really want to be triaged.
    on Apr 6, 2020
  15. 14 remaining items

  16. github-actions
    added 5 commits that reference this issue on Sep 30, 2022

    deps: update dependency charset-normalizer to v2.1.1 (#63)

    ea2d77f

    deps: update dependency googleapis-common-protos to v1.56.4 (#63)

    d29e652

    chore(main): release 0.2.5 (#82)

    b80a33d

    chore(main): release 0.3.1 (#40)

    e7756bf

    chore(main): release 0.4.0 (#52)

    6de8e6b
  17. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore: fix test flakyness (#63)

    76997ef
  18. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v4.4…

    9078709
  19. chingor13
    added a commit that references this issue on Feb 24, 2026

    respect the CLOUDSDK_CONFIG (#63)

    84125ab
  20. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore: fix test flakyness (googleapis#63)

    9910d9e
  21. chingor13
    added a commit that references this issue on Mar 12, 2026

    respect the CLOUDSDK_CONFIG (#63)

    d169a96
  22. suztomo
    added 3 commits that reference this issue on Mar 23, 2026

    fix: include Spanner gRPC test dependencies (googleapis#63)

    edadf0a

    chore: update common templates

    394b50c

    chore: release 1.14.0 (googleapis#82)

    2f3b7c0
  23. suztomo
    added a commit that references this issue on Mar 30, 2026

    deps: update dependency com.google.cloud.samples:shared-configuration…

    c45cf0e
  24. lqiu96
    added a commit that references this issue on Apr 1, 2026

    deps: update dependency com.google.cloud.samples:shared-configuration…

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

Metadata

Metadata

Assignees

  • @garrettjonesgoogle
    garrettjonesgoogle

Labels

🚨 criticalP0 critical issue. Requires immediate fixapi: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.

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.