Greetings to you too!

A good place to start is Bidirectional streaming RPC sections of gRPC Java 
basic tutorial <https://grpc.io/docs/languages/java/basics/>.
Next, there are blog posts So You Want to Optimize gRPC - Part 1 
<https://grpc.io/blog/optimizing-grpc-part-1/> and So You Want to Optimize 
gRPC - Part 2 <https://grpc.io/blog/optimizing-grpc-part-2/>, which look 
into differences between non-blocking stubs and the Listenable Future API.
Then, there are a few ListenableFuture usage examples here: 
https://github.com/grpc/grpc-java/tree/master/examples/src/main/java/io/grpc/examples/errorhandling
.

I hope this helps.

Best regards,
Sergii

On Sunday, October 9, 2022 at 12:28:12 PM UTC-7 [email protected] wrote:

> Greetings all !
>
> I'm developing an open source project with gRPC (an others)
>
> I wish to use asynchronous class between client and server, and I want to 
> know the best way to do it. Even I've been searching, I've not found good 
> answers; so here I'm asking to experienced people.
>
> It is better to make the client asynchronous with streaming on the client 
> / server reponse
> or
> directly using Server.ServerFututreStub.method and ListenableFuture ?
>
> I rather prefer the second ona as my server emits only one response to the 
> client y the gRPC calls, and can male it wait a while.
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/273af646-2f84-46aa-8955-293a2fd46cd5n%40googlegroups.com.

Reply via email to