2 blocking calls on the same channel do not block each other, they will execute concurrently. The main reason to use asynchronous calls is when the caller themselves cannot block, for instance in a non blocking server (think of something similar to nodeJS).
On Tue, Nov 12, 2019 at 10:29 PM <[email protected]> wrote: > So you would say it’s ok to create for every call a new stub. But what > about concurrency? Let’s say I create two stubs and they make a call at the > same time on the same channel. Is one stub blocks the other one? So when > you would use asynchronous calls? > > -- > 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/3c402c50-1af2-433f-aed4-0ccb2a0e1d16%40googlegroups.com > . > -- Christian Rivasseau Co-founder and CTO @ Lefty <http://www.lefty.io> +33 6 67 35 26 74 -- 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/CAJ6g4%3DYpKJSWAxCkARY5OWXckVoT-cyUML2suAj1aBAAsTH7cQ%40mail.gmail.com.
