[Baypiggies] Python WSGI server comparison?
alecf at flett.org
Fri Apr 18 17:52:47 CEST 2008
Paster, that comes with paste, is a pretty dirt-simple WSGI server that
supports various modes (Forked vs. Threaded, and HTTP vs FastCGI vs SCGI)
with just the flip of a switch. You just tell it what combinations of the
above you want. You can even run it under twisted.web, but I think that
support is somewhat weak.
On Thu, Apr 17, 2008 at 2:24 PM, Brent Pedersen <bpederse at gmail.com> wrote:
> On Thu, Apr 17, 2008 at 2:12 PM, Niall O'Higgins <niallo at unworkable.org>
> > Hi,
> > I'm looking into various Python WSGI servers. Currently I have been
> > testing with 2.5's wsgiref server and this works fine for me.
> > However, I don't have a clear picture of what should be used for a
> > more 'production' environment, my impression is that the wsgiref
> > server is not suited to this.
> > I have found various lists of WSGI-capable servers on the web, but
> > have no idea what the pros and cons are, or which are well-tested and
> > stable.
> > At the moment I'm interested in pure Python servers, rather than
> > Apache mod_python/mod_wsgi or fastcgi etc solutions.
> > What are other people using? My requirements are pretty basic, its
> > just a simple web service.
> > Thanks!
> > --
> > Niall O'Higgins
> > Software Enthusiast
> > http://niallohiggins.com
> > _______________________________________________
> > Baypiggies mailing list
> > Baypiggies at python.org
> > To change your subscription options or unsubscribe:
> > http://mail.python.org/mailman/listinfo/baypiggies
> hi, i like the cherrypy server as well. pretty sure it's python only
> and it's been very stable in my experience. my only complaint is it
> doest give "dude that's whack!" on a 500 error like the wsgiref does.
> you can likely drop it in place of wsgiref like:
> from cherrypy import wsgiserver
> port = 3030
> server = wsgiserver.CherryPyWSGIServer(('0.0.0.0', port), [('/',
> application)], server_name='')
> except KeyboardInterrupt:
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies