Threading in the client

15 views
Skip to first unread message

pieter.k...@gmail.com

unread,
Aug 11, 2017, 10:35:45 PM8/11/17
to grpc.io
Can I call RPCs concurrently from multiple threads on the same stub, or should each thread have its own stub?

Vijay Pai

unread,
Aug 11, 2017, 11:55:33 PM8/11/17
to pieter.k...@gmail.com, grpc.io
Multiple threads can share a stub, no problem.

On Fri, Aug 11, 2017 at 7:35 PM <pieter.k...@gmail.com> wrote:
Can I call RPCs concurrently from multiple threads on the same stub, or should each thread have its own stub?

--
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+u...@googlegroups.com.
To post to this group, send email to grp...@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/fceece92-722d-46c8-b3fe-6ba326e23fe2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages