ok, there are two very simple memory friendly ways to do sticky load balancing.
And as a matter of fact, this is how some hardware loadbalancers do it.

1. Set a cookie on the clients machine - no server memory to hold a map
2. If the client doesn't accept cookies, do a simple sticky load balancing based on 
the IP of the client request. Again, no memory
map needed.

The current jvmRoute addition to JSESSIONID is not really needed, since it doesn't add 
that much of a benefit over the two options
above. So right then and there, there is one less thing to configure.

Filip

----- Original Message -----
From: "Graham Leggett" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 2004 9:34 AM
Subject: Re: Invitation to HTTPD commiters in tomcat-dev


Costin Manolache wrote:

> But I still think we should start with using mod_proxy with http
> protocol, and add the missing load balancing and extra info - if we are
> not happy with the performance and we need a small boost, we could also
> add ajp.

I think this is a good idea.

Solve the general load balancer case first, then you will soon see
whether HTTP works for everybody, or whether there is still a need for
AJP. If there is a need, then someone will develop the AJP part of the
module, but as the AJP module need not cocern itself with load balancing
(that function being handled for it) it will be a far simpler module all
round.

Regards,
Graham
--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to