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 ?