News for hackers. Stuff that matters.
Re:Sanic – Python 3.5+ web server that's written to go fast by aosaigh on Saturday October 15, 2016 @03:19PM (#12715291)
As a matter of interest, what makes nginx so fast?
Re:Sanic – Python 3.5+ web server that's written to go fast by scott_karana on Saturday October 15, 2016 @07:32PM (#12716120)
Tight C, and more importantly, very little dynamic/runtime support.

(Eg, nearly static configuration, very few flow or looping constructs, unless you explicitly use something optional like Lua)

Re:Sanic – Python 3.5+ web server that's written to go fast by wfn on Sunday October 16, 2016 @08:36AM (#12718329)
> unless you explicitly use something optional like Lua

I've actually at one point considered writing some light web apps as nginx modules, in Lua. In the end though, it's usually enough to pluck the lowest hanging fruit, which (as a rule is) caching... Cache as much as possible (including when you have a python web app behind nginx).

Re:Sanic – Python 3.5+ web server that's written to go fast by bobwaycott on Sunday October 16, 2016 @06:22PM (#12721365)
You might be interested in OpenResty.