tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject RE: Configuring Multiple Tomcat JVMs with Apache - Load Balancing
Date Mon, 17 Dec 2001 17:14:40 GMT


On Mon, 17 Dec 2001, Kevin Seguin wrote:

> Date: Mon, 17 Dec 2001 10:25:17 -0600
> From: Kevin Seguin <seguin@motive.com>
> Reply-To: Tomcat Developers List <tomcat-dev@jakarta.apache.org>
> To: 'Tomcat Developers List' <tomcat-dev@jakarta.apache.org>
> Subject: RE: Configuring Multiple Tomcat JVMs with Apache - Load Balancing
>
> >
> > >there hasn't been done anything on that topic yet ?  What's
> > >the status of
> > >loadbalacing, either mod_jk or mod_webapp ?
> > >Is that political due to if loadbalacing is working properly
> > >there won't be
> > >any reason to take (buy) anything else than TC ?
> >
> > State of the art is that today only mod_jk could
> > handle load-balancing and only when connected
> > to Tomcat 3.2.x or 3.3.
> >
> > Tomcat 4.0.x support ajp13 protocol, used in mod_jk
> > but still miss a subtil feature (jvmroute) to be
> > able to keep the route to the good JVM in
> > session mode (SessionAfinity).
> >
> > But the current refactory of ajp protocol,
> > under ajp14 in jakarta-tomcat-connectors, will
> > fix somedays thanks to Costin and Kevin works :)))
> >
>
> how does the connector set/use jvmroute?  i assume there is some sort of
> cookie magic going on, but after a brief tour of the code, it's not obvious
> to me how this jvmroute stuff works.
>

That was also my impression when I looked.

> it seems to me that tomcat (any version) shouldn't have to have anything to
> do with setting jvmroute.  couldn't the connector be solely responsible for
> this?  the connector could add a cookie to the response, then read this
> cookie on subsequent requests, and then you wouldn't have to add stuff to
> servlet containers to handle this.  or, i could be totally off base :)
>

If someone familiar with how "jvmroute" works wanted to post some patches
for Tomcat 4, we could have it working with the AJPv13 method.  (Or, if
you're a committer, you have commit access on "jakarta-tomcat-4.0" as well
:-).

> -kevin.
>

Craig


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message