Anakha Santhosh
Anakha Santhosh

Reputation: 1

Is it possible in gRPC to use a server to perform Asynchronous and Synchronous service at the same time with different client

Is it possible to perform Asynchronous and synchronous operation using single server in grpc. Let me elaborate my question clearly i have a server and two client one client is performing synchronous service and another client is performing asynchronous service.So how both the client access the server at the same time?

i just try combaining synchronous and asynchronous API in proto and combain the server and client code. But it is performing in the way like asynchronous is performing after synchronous operation

Upvotes: 0

Views: 66

Answers (1)

apolcyn
apolcyn

Reputation: 124

If I understand correctly, you want to access the same gRPC server with both synchronous and asynchronous clients?

If so, this is possible. The server does not care about, or even know about, the threading model of the client.

Upvotes: 0

Related Questions