News for hackers. Stuff that matters.
Re:Write Fast Apps Using Async Python 3.6 and Redis by est on Thursday April 27, 2017 @10:11PM (#14216417)
Another point is your server can switch context to handle other requests with async.

In real world, your web page consists more than one db (like mysql + redis + some RPC calls to microservices) queries, with async apis, you can concurrently request for all queries at once and join them all at rendering.

The async benefits can add up to a much faster responsive server.

Re:Write Fast Apps Using Async Python 3.6 and Redis by RubyPinch on Thursday April 27, 2017 @10:44PM (#14216545)
Yes, those are threads when handled by the OS / greenthreads when handled by the program.

a program with threads can support multiple requests simultaneously. a program with green threads can support multiple requests simultaneously.

You arn't giving any reasons why green threads in python perform better than threads in the OS.

Re:Write Fast Apps Using Async Python 3.6 and Redis by netheril96 on Friday April 28, 2017 @01:56AM (#14217135)
Well, threads also switch context.