You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Python GRPC multiprocessing server example given by GRPC has a problem. Each tcp connection will be handled by 1 process, since grpc keeps the connections open all requests are handled by one process. In my case the tasks that are executed can take 10 seconds, I now have to send the tasks over different connections on the client side to make use of the multiprocessing, but I don't want the client to be responsible for the multiprocessing on the server side.
This problem is caused by how bad Python is in real multi-threading, but can it by fixed by Linkerd?
I was wondering if it is possible that the connection between the linkerd-proxy and the grpc server can work with a connection pool. This way Linkerd can distribute the incoming requests over the different connections.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The Python GRPC multiprocessing server example given by GRPC has a problem. Each tcp connection will be handled by 1 process, since grpc keeps the connections open all requests are handled by one process. In my case the tasks that are executed can take 10 seconds, I now have to send the tasks over different connections on the client side to make use of the multiprocessing, but I don't want the client to be responsible for the multiprocessing on the server side.
This problem is caused by how bad Python is in real multi-threading, but can it by fixed by Linkerd?
I was wondering if it is possible that the connection between the linkerd-proxy and the grpc server can work with a connection pool. This way Linkerd can distribute the incoming requests over the different connections.
Beta Was this translation helpful? Give feedback.
All reactions