3 ms·
It depends...are you looking for concurrency or parallelism? The two are similar, but not the same. Using multiprocessing creates a LOT of overhead and is rea
by Sohcahtoa82 4y ago
It depends...are you looking for concurrency or parallelism? The two are similar, but not the same.
Using multiprocessing creates a LOT of overhead and is really intended for parallelism and is only the better solution if you're CPU-bound. If you're I/O-bound, then what you're really looking for is concurrency, and using asyncio will be more performant.