No, the incoming request will be queued by the server. On Mon, Mar 23, 2020 at 10:24 AM Sumukh Shivaprakash <[email protected]> wrote:
> I have a newbie question on grpc server handlers in c++. > > The greeter example shows how the server requests for an API by > registering a "RequestSayHello()" and on receiving a request from a client, > creates a new object that registers another "RequestSayHello()" for > subsequent requests, after which it starts processing the first one. > > My question is: > In the event of a delay (e.g. context switch) before registering the new > "RequestSayHello()", what is the behavior if the client sends another > request message? Is it rejected by the server because there are no > registered handlers? > > -- > 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/f934fa06-2d68-40ea-ba74-affb1f6d6228%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/f934fa06-2d68-40ea-ba74-affb1f6d6228%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Mark D. Roth <[email protected]> Software Engineer Google, Inc. -- 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/CAJgPXp4sHpWWV33ssZsC4N35nYGH_s2sk%2B%3D9L%2BsOdnjUijM3_g%40mail.gmail.com.
