3 ms·
If your task is io bound, aka, lots of network stuff, multi process is overkill. Also, asyncio can handle a _lot_ more tasks 100,000's as opposed to 10s. So it
by nhumrich 4y ago
If your task is io bound, aka, lots of network stuff, multi process is overkill. Also, asyncio can handle a _lot_ more tasks 100,000's as opposed to 10s. So it really shines in heavy io things.
Also, multiprocessing can not share memory, and that can be a pretty busy g disadvantage depending on the task.