AW: mod_jk Avoid loadbalancing

2011-11-15 Thread Alexander Diedler
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 [mailto:p...@pidster.com] 
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]



smime.p7s
Description: S/MIME cryptographic signature


Re: AW: mod_jk Avoid loadbalancing

2011-11-15 Thread Mladen Truk

On 11/15/2011 12:55 PM, Alexander Diedler wrote:

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



Use native connector and you won't have to worry about the static file 
performance.
It'll be few times faster compared to any proxy.
Unless you need httpd for something like php or special auth, use tomcat 
directly.

Regards
--
^TM

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



AW: mod_jk Avoid loadbalancing

2011-11-15 Thread Alexander Diedler
Hello,
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 [mailto:jeffrey.jan...@polydyne.com] 
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 TC2TC3

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

Jeff

 -Original Message-
 From: Alexander Diedler [mailto:adied...@tecracer.de]
 Sent: Tuesday, November 15, 2011 5:56 AM
 To: Tomcat Users List; p...@pidster.com
 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 [mailto:p...@pidster.com]
 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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



smime.p7s
Description: S/MIME cryptographic signature