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

asyncio is still bound by the GIL. It's not like Go's continuations which can parallelize on the CPU. There still can only be one TCP payload from your Python process at one time. The author wanted to spam the network and use all his bandwidth. Python multiprocessing would have worked for this though (probably faster than the solution using shell commands, but obv this is network-bound much more than CPU bound so who cares).


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

Search: