tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angsuman Chakraborty" <angsu...@technologist.com>
Subject RE: Load Balancing
Date Wed, 16 Feb 2000 21:50:21 GMT
That sounds GREAT! And thanks for the details.
I was wondering if we could make the balancing algorithm pluggable, say by
using factory pattern.
Does the tomcat acting as http server support this? say 4 tomcat server
running with one of them as a leader(assuming the role of apache in the
current scenario) which delegates the task to the others.
What do you think of the idea?

I am currently playing around with tomcat and I have to say this has
undoubtedly the coolest build procedure I have seen in a long time, not to
mention a lot of other cool things.

Great job!

Angsuman

-----Original Message-----
From: Shachor Gal [mailto:shachor@techunix.technion.ac.il]
Sent: Wednesday, February 16, 2000 1:40 PM
To: tomcat-dev@jakarta.apache.org
Subject: Re: Load Balancing




> Is anyone working on load balancing for tomcat.
> If so GREAT, when can we get it :)
> If not
> Any ideas and thoughts so far on this?
> Is it something I can take up?
>

As a concept, Tomcat inherits the Jserv code that handled load balancing.
The problem is that this code is currently partially broken... session
state will not work correctly!!!

As soon as I will be able to check code into the CVS I will fix that and
let you know... Hopefully sooner then later.

Now, for how it is working...
Apache (or any other web server) is first accepting the request, when it
finds out that the request should go to Tomcat it need to decide who is
the Tomcat process to be used. Deciding that can be based on something
like round robin but then you also need to support session affinity to the
JVM where the session started.

Jserv (as well as other servlet engines) solved this problem by embedding
the JVM id inside the session id sent to the client. Currently this part
is broken so sessions will not work (at all).

	Gal Shachor


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



Mime
View raw message