Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Asyncio actually plays really nicely with multiprocessing, too. The concurrent.futures.ProcessPoolExecutor can handle running tasks in child processes and handles the communication seemlessly for you. I've used it quite a bit. Can easily use all 32 cores on my server this way without the GIL getting in the way.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: