News for hackers. Stuff that matters.
Re:Write Fast Apps Using Async Python 3.6 and Redis by untog on Friday April 28, 2017 @09:11AM (#14219058)
In your example the async code doesn't really help anything though - the next statement has to wait for the response from the previous one before continuing.

In your example you'd probably want to be using Promise.all to run two IO operations simultaneously.

Re:Write Fast Apps Using Async Python 3.6 and Redis by cronin101 on Friday April 28, 2017 @10:07AM (#14219454)
The next statement has to wait, but the runtime can yield to another waiting async task so you aren't blocking the total throughput of your program (assuming it's async-all-the-way-down).

The benefits are generally larger-scale than a single method.