Re:Python 3.5 and Multitasking
by jaimebuelta on Thursday September 24, 2015 @04:00PM
(#10274259)
I fail to see how asyncio should use multicore. Asynchronous programming uses a single thread...
If you use CPU-bound tasks, using non-blocking I/O (which is what asyncio is about) is not going to work. You can use multiple processes (maybe from concurrent.futures[1]) to help that case.
If you use CPU-bound tasks, using non-blocking I/O (which is what asyncio is about) is not going to work. You can use multiple processes (maybe from concurrent.futures[1]) to help that case.
[1] https://docs.python.org/3.5/library/concurrent.futures.html#...