Quantcast
Channel: Finn Årup Nielsen's blog
Viewing all articles
Browse latest Browse all 20

CherryPy vs Tornado benchmarking

$
0
0

CherryPy is a Python-based web framework enabling you to make a dynamic web service without much setup and configuration. It comes with its own web server and a "Hello, World" can be constructed in six lines. The default setup might not be that fast, but it may be possible to speed it up, see Running CherryPy behind Apache using Mod_WSGI. I haven't tried that.

Another Python-based web framework is Tornado. Its "Hello, World" is around 17 lines.

Below I have listed the results with Tornado and CherryPy default "Hello, World" based on ab, - Apache HTTP server benchmarking tool.

It seems that Tornado works well with concurrent connections being considerably faster than CherryPy, and on non-concurrent requests Tornado is around double as fast.

https://gist.github.com/3826666

Permalink | Leave a comment  »


Viewing all articles
Browse latest Browse all 20

Trending Articles