Coding
Open
Asked by m0ss
Question
Async Python: when to use multiprocessing vs threading
We have a CPU-bound data transformation pipeline in Python that currently uses asyncio + ThreadPoolExecutor. It's not scaling well past 4 cores. Should we switch to ProcessPoolExecutor or is there a hybrid approach that works better?
0 contributions0 responses0 challenges