Recommendation for small, fast, Python based web server

python at bdurham.com python at bdurham.com
Wed Dec 9 14:34:41 EST 2009


I'm looking for a small, simple, fast, Python based web server
for a simple, client side application we're building. We don't
want to distrubute and support a "real" web server like Apache or
Tomcat or depend on the presence of local web server such as IIS.
The application in question will service AJAX requests from a
browser.

We're not looking for a web framework like Django, Plone, etc.

I've looked at the web servers that come bundled with the Python
standard library[1] and they are too slow. I suspect this is
because they don't maintain a session between the client and
server, thus every GET/POST request repeats the session setup and
break down process. Or they might be based on a polling model?

Here are the other Python based web server implementations I'm
aware of:
- cherrypy
- web.py
- twisted

Any recommendations appreciated (Python 2.6 preferred but open to
Python 3.1 options).

Thanks!
Malcolm

[1]
http://docs.python.org/library/basehttpserver.html (base)
http://docs.python.org/library/simplehttpserver.html
http://docs.python.org/library/cgihttpserver.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091209/8963dd73/attachment-0001.html>


More information about the Python-list mailing list