googleapis / googleapis/google-cloud-java

[java-storage] Provide native asynchronous API

Offen
#12,651 0 Kommentare 30 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api: storage type: feature request
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.