Best practise suggestions for implementing a microservice with gRPC endppoint

26 views
Skip to first unread message

Avron Olshewsky

unread,
Jan 27, 2021, 9:02:34 AM1/27/21
to grpc.io
I am trying to implement a microservice that has a gRPC endpoint. 

Initially I designed my code to have a Controller class that performed some computation, more specifically it is running a simulation engine in a thread(s) and was hoping I could put the gRPC sync or async server is another thread. Obviously this simplistic approach won't work as gRPC has it's own threading mechanism. Can anyone suggest an approach to this ?

Reply all
Reply to author
Forward
0 new messages