Hello!
In this line you pass executionContext only to GreeterGrpc.bindService but not to ServerBuilder which is possible by calling .executor(..) on ServerBuilder.forPort(HelloWorldServer.port) (source).
You did that for a reason or it was just for the sake of example? What is the best practise here: these two thread pools rather be the same or separate?
Hello! In this line you pass
executionContext
only toGreeterGrpc.bindService
but not toServerBuilder
which is possible by calling.executor(..)
onServerBuilder.forPort(HelloWorldServer.port)
(source).You did that for a reason or it was just for the sake of example? What is the best practise here: these two thread pools rather be the same or separate?