18 messages in com.googlegroups.pylons-discussRe: implementing a scalable (to multi...
FromSent OnAttachments
Pekka Jääskeläinen24 Aug 2007 04:40 
Philip Jenvey24 Aug 2007 11:45 
Cliff Wells24 Aug 2007 15:16 
Cliff Wells24 Aug 2007 15:17 
Bob Ippolito24 Aug 2007 15:39 
Pekka Jääskeläinen24 Aug 2007 15:41 
Pekka Jääskeläinen24 Aug 2007 15:46 
Cliff Wells24 Aug 2007 16:15 
Cliff Wells24 Aug 2007 16:20 
Pekka Jääskeläinen24 Aug 2007 16:25 
Peter Hansen24 Aug 2007 16:33 
Ben Bangert25 Aug 2007 09:47 
Pekka Jääskeläinen25 Aug 2007 10:24 
Cliff Wells25 Aug 2007 14:08 
Bob Ippolito26 Aug 2007 01:42 
Pekka Jääskeläinen26 Aug 2007 02:57 
Bob Ippolito26 Aug 2007 09:10 
Pekka Jääskeläinen26 Aug 2007 14:12 
Subject:Re: implementing a scalable (to multiple processors and multiple servers) Pylons webapp
From:Cliff Wells (clif@public.gmane.org)
Date:08/24/2007 04:20:02 PM
List:com.googlegroups.pylons-discuss

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