googleapis / googleapis/google-cloud-java

[java-storage] Provide native asynchronous API

Aperta
#12,651 0 commenti 30 reazioni 0 assegnatari Vedi su GitHub
api: storage type: feature request
Lingua principale
Java
Stelle
2.1k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
154

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.