On Sat, 2007-08-25 at 01:42 +0300, Pekka Jääskeläinen wrote:
Apache 2.2 has a mod_proxy_balancer. If performance is a
concern, you
should go with the CherryPy WSGI server.
use = egg:PasteScript#cherrypy
instead of
use egg:Paste#httpserver
This didn't work, I changed the line
use = egg:Paste#http
to
use egg:Paste#cherrypy
This is wrong AFAIK. I'm using CP's wsgiserver (which is a standalone
app and included with Paste, so you don't actually need to install CP3,
although you certainly can), and this is my entry:
[server:main]
# use = egg:Paste#http
use = egg:PasteScript#cherrypy
Note "PasteScript" vs "Paste".
As an aside, my light testing with ab showed CP3's wsgiserver to be
considerably faster than Paste's http server, but also seemed to fail
under load slightly more often (more failed requests, not crashes).
Regards,
Cliff