2 ms·
> Multiprocessing on Python works great and isn’t even very hard if you use say async_apply with a Pool. Multiprocessing works great if you don't really need a
by mlyle 3y ago
> Multiprocessing on Python works great and isn’t even very hard if you use say async_apply with a Pool.
Multiprocessing works great if you don't really need a shared memory space for your task. If it's very loosely coupled, that's fine.
But if you use something that can benefit from real threading, Python clamps you to about 1.5-2.5 cores worth of throughput very often.