Recommendation for small, fast, Python based web server

Antoine Pitrou solipsis at pitrou.net
Fri Dec 11 08:52:33 EST 2009


Hello,

> I've looked at the web servers that come bundled with the Python
> standard library[1] and they are too slow.

Apparently you have debugged your speed issue so I suppose you don't have 
performance problems anymore. Do note, however, that Python is generally 
not as fast as C -- especially for low-level stuff -- and a Python Web 
server will probably serve around 10x less requests per second than a C 
Web server like Apache (this will still give you hundreds of simple 
requests per second on a modern machine).

In any case, as far as functionality, robustness, portability and 
community support are concerned, you probably can't go wrong with Twisted.

Regards

Antoine.





More information about the Python-list mailing list