You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/29 12:46:32 UTC

[GitHub] [arrow] lidavidm commented on issue #13745: [Python][Flight] pyarrow.flight.FlightServerBase use threading instead of multiprocessing?

lidavidm commented on issue #13745:
URL: https://github.com/apache/arrow/issues/13745#issuecomment-1199240912

   Yes, if you have heavy internal processing, your only real choice is to use multiprocessing. Depending on what you want to do, you could also set the `SO_REUSEPORT` gRPC option and spawn many processes listening to the same port. 
   
   There's no option to set the thread pool because 1) it's provided by gRPC and 2) it wouldn't help anyways, you're still limited by the GIL.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org