It is okay. RPCs can be mulplexed on the same connection.

On Thu, Jun 16, 2016 at 10:48 AM, <[email protected]> wrote:

> I'm quite surprised I can't find much talk about this which makes me
> suspect I'm searching for the wrong thing so please accept my apologies if
> it's been asked before.
>
> Is it OK to call the same Client stub and underlying grpc.ClientConn from
> multiple goroutines or should I be creating a client connection per routine?
>
> TIA
>
> Andy
>
> --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/c2e0966e-a30a-48cd-90ac-4e531fcaa44c%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/c2e0966e-a30a-48cd-90ac-4e531fcaa44c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks,
-Qi

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAFnDmdoxpLzVnxOoK1esqp8j5B3WtrVbVfNZ5x8kghaTerO98A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to