tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <devli...@hanik.com>
Subject Re: [next] What's next ?
Date Thu, 02 Oct 2003 18:20:49 GMT
bottom line is writing a Java loadbalancer is like trying to cross the
atlantic ocean with a canoe. there is no point.

Java simply can't handle enough concurrent connections, and then if you want
session affinity you need introspection, which means you will be parsing the
HTTP request coming in,

Load balancing belongs to hardware, and in software (native code) on nothing
but the smallest projects

Filip



----- Original Message -----
From: "David Rees" <drees@greenhydrant.com>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Thursday, October 02, 2003 11:17 AM
Subject: RE: [next] What's next ?


On Thu, October 2, 2003 at 8:56 am, Shapira, Yoav sent the following
>>> 3. Provide a complete working configuration example for a cluster of
>>> tomcat servers with a front-end tomcat as well, i.e. a pure
>>> tomcat-only
>>> solution.  We already have the jvmRoute mechanism, but I think it
>>> needs
>>> more examples/documentation so that people start using it.
>>
>>So you want to do a HTTP load balancer ? I think this would be a really
>>good project for the commons.
>
> I had something even simpler in mind:
> - A cluster of backend tomcat servers
> - A single tomcat front-end server, with one filter mapped to /* that
> has configurable rules on how to direct requests to the backend servers.
> (e.g. string match in URL rules, remote address rules, etc.)
>
> But as someone mentioned, I also think an HTTP load-balancer was
> discussed as a future version of ajp1[3-4].  I should search the
> archives for those threads.

Going a bit further with what you said, it seems that all that is required
is a load balancing filter and some documentation written to support it.

The load balancing filter itself should probably go into the commons
project as it should would work with any servlet container.

-Dave

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


---------------------------------------------------------------------
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