Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide native asynchronous API #638

Open
oripwk opened this issue Dec 2, 2020 · 0 comments
Open

Provide native asynchronous API #638

oripwk opened this issue Dec 2, 2020 · 0 comments
Labels
api: storage Issues related to the googleapis/java-storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@oripwk
Copy link

oripwk commented Dec 2, 2020

A lot of modern Java libraries have fully asynchronous APIs which use Java NIO/Netty to execute I/O and don't block a thread.
In frameworks like Node.js async I/O is the norm.

AWS has a native async API in their v2 SDK built on Netty.
For heavy I/O workloads, using an async API can improve throughput tremendously, by not blocking threads.

Please note however, that delegating API calls to another thread and continuing the work on the current thread is not asynchronous, since the other thread is blocked. I'm talking about fully asynchronous here.

@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/java-storage API. label Dec 2, 2020
@frankyn frankyn added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/java-storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants