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 03:17:22 PM
List:com.googlegroups.pylons-discuss

On Fri, 2007-08-24 at 15:16 -0700, Cliff Wells wrote:

On Fri, 2007-08-24 at 14:41 +0300, Pekka Jääskeläinen wrote:

However, we started to think the practical issues with this in Pylons. In principle, making this work reliably means to distribute the session data so all server processes can access each session's data.

I'm curious about this too. I've been actually doing it already for some time (albeit not on any heavily loaded sites) using Nginx and a default Pylons setup and quite frankly I've not had any issues despite taking no precautions.

My only possible explanation is that either a) Nginx makes some attempt to track sessions itself and always passes the same IP back to the same backend Pylons process or b) Pylons automagically makes it work.

Either way I'd like to feel a little more certain about this.

Just to clarify: I'm not load balancing across multiple servers, just multiple Pylons backends on the same machine.

Regards, Cliff