Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread Bill Barker
"Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 6:09 PM Subject: Re: Load balancing - fail-over support with mod_webapp > > > On Tue, 18 Dec 2001 [EMAIL PROTECTED] wrote: > >

Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread Mathias Herberts
> Another solution would be to calculate some sort > of checksum on each session id received for a vm that is > no longer on the air. Then modulo that number by the number of > available tc instances in the cluster, and route the request to the > the jth server in the cluster (where j is the calcu

Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread Craig R. McClanahan
On Tue, 18 Dec 2001 [EMAIL PROTECTED] wrote: > Date: Tue, 18 Dec 2001 14:14:10 -0800 (PST) > From: [EMAIL PROTECTED] > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > To: Tomcat Developers List <[EMAIL PROTECTED]> > Subject: Re: Load balancing - fail-over sup

Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread Tom Drake
essage - From: <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 2:14 PM Subject: Re: Load balancing - fail-over support with mod_webapp | On Tue, 18 Dec 2001, Craig R. McClanahan wrote: | | > The load balancer routin

Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread costinm
On Tue, 18 Dec 2001, Craig R. McClanahan wrote: > The load balancer routing from JK hasn't ever been implemented in > Catalina yet. Patches welcome :-). Can we get a 'setRequest' method on Manager ? I'm trying to find workarounds, but that would be the simple solution. Again, adding support fo

Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread Craig R. McClanahan
t; > Subject: Re: Load balancing - fail-over support with mod_webapp > > Mathias: > > In Tomcat 4, unless I'm not reading the code correctly, or completely, > it doesn't appear that that any routing information is stored in the session > id. > > Can anyone commen

Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread Tom Drake
gt; To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 12:23 PM Subject: Re: Load balancing - fail-over support with mod_webapp | Tom Drake wrote: | > | > Mathias; | > | > Thanks for your very informative reply. From your reply, it seems

Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread Mathias Herberts
Tom Drake wrote: > > Mathias; > > Thanks for your very informative reply. From your reply, it seems > that mod_jk comes close to doing what I want, and should actually > provide the fail-over I'm looking for, however not in the most > optimal way. > > What would be involved in adding (optionall

Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread Tom Drake
quot;Tomcat Developers List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 10:28 AM Subject: Re: Load balancing - fail-over support with mod_webapp | Hi, I have been working on load balancing Apache/Tomcat clusters. | | In mod_jk, the fail-over is done in the

Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread costinm
Hi Mathias, Maybe you could contribute some docs, you seem very familiar with the subject ! Code would be even better :-) In jk2 it should be possible for 'callbacks' to change anything, and all the information about lb is exposed in accessible structures ( private data has been greatly reduced

Re: Load balancing - fail-over support with mod_webapp

2001-12-18 Thread Mathias Herberts
Hi, I have been working on load balancing Apache/Tomcat clusters. In mod_jk, the fail-over is done in the function get_most_suitable_worker. Basically if the worker who initiated the session is available (i.e. not in error state), use it, otherwise loop through the workers and select either the o

Load balancing - fail-over support with mod_webapp

2001-12-18 Thread Tom Drake
I have two questions about mod_webapp and/or mod_jk. But first a little background: Most of you know that I'm working on a distributed session management solution the purpose for which is to provide fail-over capability in the context of a load balanced environment. By fail-over, I mean that