Re:Sanic – Python 3.5+ web server that's written to go fast
by napperjabber on Saturday October 15, 2016 @12:32PM
(#12714549)
MagicStack has already taken the initiative.
https://github.com/MagicStack/asyncpg
Re:Sanic – Python 3.5+ web server that's written to go fast
by spamizbad on Saturday October 15, 2016 @12:55PM
(#12714677)
Still beta, but those postgres numbers are incredible. MagicStack is doing amazing things.
Re:Sanic – Python 3.5+ web server that's written to go fast
by mangeletti on Saturday October 15, 2016 @01:54PM
(#12714962)
Extrapolating from Techempower and from the OP's benchmarks, I got:
137% as many req/sec as Node
83% as many req/sec as Go
I'm it sure where this goes when you factor in async IO, but my guess is that Node gains a little and Go loses a lot.When you add asyncpg to the mix my money is on Sanic winning by a long shot, in a benchmark that includes e.g., 3 queries and returning the results as JSON.
Re:Sanic – Python 3.5+ web server that's written to go fast
by mhuffman on Saturday October 15, 2016 @07:40PM
(#12716137)
I have found node and tornado to have practically identical performance. I have not had a lot of experience with GO and Elixir for web servers.
nginx (openresty, really) has beat both of them them in all "normal" (ie. not limited by DB access, etc) usage conditions that I have tested.
How does your benchmark compare against GO, Elixir and Node?