It seems that completion queue is assigned per channel (per client) so all 
requests from the same client are processed synchronously. Can I change 
this behavior without client reconnection per each call?

пятница, 2 декабря 2016 г., 10:51:24 UTC+3 пользователь Юрий Скиндерский 
написал:
>
> Could anybody please help me with the question originally posted on 
> stackoverflow <http://stackoverflow.com/q/40915513/318499>?
>
> I have a grpc service written in C# which has 2 calls like Start and Stop. 
> When a client calls Start (this call takes much time) and then Stop server 
> processes requests synchronously while grpc has started 4 threads.
>
> 2016-12-01 18:55:14,199,INFO,grpc 2 (cq 2),0 parsing.c:659: HTTP:17:HDR:
> SVR: :path: /Service/Start
> 2016-12-01 18:55:14,303 [grpc 2 (cq 2)] DEBUG [RPC:27] Start 2016-12-01 18
> :55:14,822,INFO,grpc 0 (cq 0),0 parsing.c:659: HTTP:19:HDR:SVR: :path: /
> Service/Stop 2016-12-01 18:55:33,661 [grpc 2 (cq 2)] DEBUG [RPC:27] Stop
>
> These log messages shows that request was received by grpc 0 but was 
> processed by grpc 2 after Start has been finished.
>
> Could you please help me to understand if it functions as designed or 
> maybe I have missed any additional settings?
>
>

-- 
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].
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/6b22d2bf-642d-4bb0-a3a9-259c086930bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to