tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Diedler <>
Subject AW: mod_jk Avoid loadbalancing
Date Tue, 15 Nov 2011 15:46:11 GMT
I want to avoid, that Level1 LB routes to HTTPD1 and HTTPD1 (on same server
as TC1) also balance to TC2 on level 2. So the next request from Level 1 go
to HTTD2 (on same server as TC2) and so I have double load on the same
server. Or is my understanding not right?
If a Tomcat (TC3) give up.. the Level 1 LB should recordnized that and
should redirect only to  the functional Tomcats. The Failover functionality
should be provided only by the Level 1 LB.

-----Ursprüngliche Nachricht-----
Von: Jeffrey Janner [] 
Gesendet: Dienstag, 15. November 2011 16:01
An: 'Tomcat Users List'
Betreff: RE: mod_jk Avoid loadbalancing

Alexander -
>From reading your emails, it sounds like you have the following setup

                       F5 HW-balancer
                            / \
                           /   \     Level 1 balancing
                          /     \
                       HTTPD1  HTTPD2
                          |      |
                     ----------------   Level 2 balancing
                     |       |      |
                    TC1     TC2    TC3

Is that correct?
You state that you want to eliminate Level 2.
However, from a performance standpoint, why would you?  Without the Level 2
balancing, it is conceivable that one of the 3 Tomcats could end up
processing the bulk the JSP requests.
However, Pid is correct. If you are worried about performance, you could
drop the HTTPD servers and balance directly to the Tomcat servers.  Tomcat
is just as fast at delivering static content as HTTPD, and it simplifies


> -----Original Message-----
> From: Alexander Diedler []
> Sent: Tuesday, November 15, 2011 5:56 AM
> To: Tomcat Users List;
> Subject: AW: mod_jk Avoid loadbalancing
> Hello,
> Yes, it was an option to solve my problem. But what about the 
> performance?
> My opinion was to forward only necessary requests to the Tomcat (jsp, 
> java
> etc) and let the Apache HTTPD deliver the static content 
> (CSS,JS,Images etc).
> Best regards
> Alexander
> -----Ursprüngliche Nachricht-----
> Von: Pid []
> Gesendet: Dienstag, 15. November 2011 12:41
> An: Tomcat Users List
> Betreff: Re: mod_jk Avoid loadbalancing
> On 14/11/2011 10:42, Alexander Diedler wrote:
> > Hello
> >
> >
> >
> > It is possible in a three node TC 6.0 / TC7.0 Cluster to avoid the 
> > loadbalancing between these three nodes? We only need the session 
> > replication. The Loadbalancing with failover will be done by a 
> > Big-IP F5, so we don´t need a "double" balanced request, first time 
> > by the HW-balancer and second time by the Apache mod_jk himself.
> So don't put httpd+mod_jk in front - just point the F5 at the Tomcats.
> p
> --
> [key:62590808]


Confidentiality Notice:  This Transmission (including any attachments) may
contain information that is privileged, confidential, and exempt from
disclosure under applicable law.  If the reader of this message is not the
intended recipient you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited.  

If you have received this transmission in error, please immediately reply to
the sender or telephone (512) 343-9100 and delete this transmission from
your system.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message