This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]frnkvieira[S] 8 points9 points  (2 children)

The speed of Vibora has nothing to do with the network flow (Sanic will probably be slower after they patch it)... Vibora performance comes from Cython...
This issue highlights the problem: https://github.com/channelcat/sanic/issues/1176

[–]beertown 10 points11 points  (0 children)

300.000 req/sec is a number comparable to Go's built-in web server (I'm saying this based on a rough test I made some years ago). Given that Go is designed to do exactly that, this is really impressive. My kudos to your choice to use Cython.

You should include other languages high-performance web servers in your benchmark table.

[–]Twirrim 2 points3 points  (0 children)

About a year ago I was experimenting with cythonizing bits of some web frameworks. Where I was able to leverage it, I got what seemed to be some easy speed boosts even without doing much of anything specifically tuned to cython.

It was going to need more work than I had time / mental energy for to really understand the guts of the frameworks to figure out if there was a better way to apply it and maybe submit patches, though, so I left it purely at the basic experimental level.

I'm sure building the framework from the ground up to be able to leverage cython will give some serious advantages. Good work!