Re: nginx load balance

2008-06-28 Thread deepfryed
If you're looking for cookie based session affinity, i suggest you also look at apache+mod_proxy. You can specify 'stickysession' which is the name of the cookie or request param used for session. Cheers, Bharanee

Re: Apache::Template for modperl 2

2008-06-28 Thread Geoffrey Young
Fred Moyer wrote: Senthil V wrote: Hi All, I am trying to install Apache::Template for Apache 2.2.8. Whether the porting of Apache::Template is done for modperl 2. If its done, plz let me know from where i can get the source. I just took a look at Apache::Template, and it i

Re: nginx load balance

2008-06-28 Thread Jeff Peng
On Sat, Jun 28, 2008 at 10:14 PM, <[EMAIL PROTECTED]> wrote: > http://wiki.codemongers.com/NginxHttpUpstreamModule > > IP hash based distribution is probably what you want Thanks.Source IP hash sounds a possible way. But, if user's gateway (for local network) has a IP pool, it means the first tim

Re: nginx load balance

2008-06-28 Thread deepfryed
http://wiki.codemongers.com/NginxHttpUpstreamModule IP hash based distribution is probably what you want On 6/28/08, Jeff Peng <[EMAIL PROTECTED]> wrote: > Hello, > > We have some modperl application servers. > Follow the suggestion on this list, I will use a nginx in front of > them to do the lo

nginx load balance

2008-06-28 Thread Jeff Peng
Hello, We have some modperl application servers. Follow the suggestion on this list, I will use a nginx in front of them to do the load balance. But I have a question, does nginx support for session-keeping? A user's request, should go always to the same original backend server. Otherwise the user

Re: mod_perl caching problem

2008-06-28 Thread william
Hello, Sorry for the late of reply, I just solve it yesterday. It's because a module of mine is using the global variable our @array = (); When I migrate from CGI to mod_perl, I forgot to fix that. Now I just understand that because mod_perl only compile once, and the subsequent execution of globa