Recommendation for small, fast, Python based web server

Antoine Pitrou solipsis at pitrou.net
Sat Dec 26 12:40:27 EST 2009


Le Fri, 25 Dec 2009 10:38:19 -0800, Aahz a écrit :
> In article <mailman.1720.1260539582.2873.python-list at python.org>,
> Antoine Pitrou  <solipsis at pitrou.net> wrote:
>>
>>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).
> 
> For static pages or dynamic pages?  Once you get into dynamic pages, I
> sincerely doubt that the smaller Apache overhead makes lots of
> difference.

For static pages. Yes, I guess the difference for dynamic pages would 
indeed be quite small. Especially if database activity is also involved.

Regards

Antoine.





More information about the Python-list mailing list