Reputation: 1
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
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