Started to measure the performance of threads vs async/await (with asyncio and uvloop) on TCP with expectation that async will win by far. I'm almost a week in it and at this point I'm not sure about anything.

It's too early to draw conclusions, but looks like with a fast enough network, threads and async are about the same.

#python

@orsinium Async shines when you have large number of I/O operations where each one has a potential of blocking - e.g. making a large number of network requests.
@b11c sorry, what do you mean? I've run tests with different delays on the server side between getting request and sending response, nothing so far made asyncio to outstand.