Personally, I quite like the syntax of aiomultiprocess.Pool(), as each process will run an asynchronous event loop, which can improve IO performance. The performance depends on the number of available cores and the workload.
Although there is trio.from_thread.run, it is a bit inconvenient to use.
I hope trio adds a multi-threaded pool to get rid of the GIL limitation.
Personally, I quite like the syntax of
aiomultiprocess.Pool()
, as each process will run an asynchronous event loop, which can improve IO performance. The performance depends on the number of available cores and the workload.Although there is
trio.from_thread.run
, it is a bit inconvenient to use.I hope trio adds a multi-threaded pool to get rid of the GIL limitation.