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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/a1c6cd76-4c02-4abc-a3e0-4bbc33177e5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to