Hi

I want to know what is the best practice to use GRPC client channels.
For each GRPC client-server pair, should I just create a single channel 
that is shared among all threads, or should I create a pool of channels and 
make sure one channel is used by one thread at a time?

I am asking this is because I used to run into mysterious issues that some 
channel got stuck in the middle of some long stream RPC and the client 
thread blocks forever, while the same issue never happens to "channel pool" 
model.

Best

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/14013c59-dc14-48d7-8521-8915c32820a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to