Recommendation for small, fast, Python based web server

mdipierro massimodipierro71 at gmail.com
Fri Dec 25 16:04:01 EST 2009


This is a new wsgi web server implemented in a single file.

http://code.google.com/p/web2py/source/browse/gluon/sneaky.py

I could use some help with testing.

Here is a version for Python 3.0

http://code.google.com/p/web2py/source/browse/gluon/sneaky.py


Massimo

On Dec 25, 12:38 pm, a... at pythoncraft.com (Aahz) wrote:
> In article <mailman.1720.1260539582.2873.python-l... at python.org>,
> Antoine Pitrou  <solip... 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.
> --
> Aahz (a... at pythoncraft.com)           <*>        http://www.pythoncraft.com/
>
> Looking back over the years, after I learned Python I realized that I
> never really had enjoyed programming before.




More information about the Python-list mailing list