Thanks Ken for the swift reply. Much appreciated.
On Saturday, July 30, 2016 at 3:11:13 AM UTC+10, Ken Payson wrote: > > Hi Stefan, > > Currently process pools are not supported. There is definitely interest > in supporting it, but the c-core extension code breaks with calls to > fork(), so implementing it would be a non-trivial task. > > Ken > > On Thursday, July 28, 2016 at 9:32:45 PM UTC-7, ssa...@atlassian.com > wrote: >> >> Hi, >> >> We are currently evaluating gRPC and the Python based implementation on >> top of the c core seems to use Python threads from a thread pool for >> executing the code that represents the remote method. >> The code that would be exposed via gRPC is not threadsafe and is >> currently being executed in a pre-fork model with one process per request. >> >> Thrift's Python library for example seems to support a model of using a >> pool of worker processes: >> https://git1-us-west.apache.org/repos/asf?p=thrift.git;a=blob;f=lib/py/src/server/TProcessPoolServer.py;h=fe6dc816278666d2f8642cbafbba761db611a781;hb=HEAD >> >> Does something like this exist for Python/gRPC or are there any plans to >> support something like this in the future? >> >> Best regards, >> Stefan >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/81e73c1d-d093-450a-81af-728ada6f0ac3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.