googleapis / googleapis/google-cloud-java
[java-storage] Provide native asynchronous API
Open
api: storage
type: feature request
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 154
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.