Re: Custom load balancing algorithm and mod_jk???

2005-02-10 Thread Henri Gomez
Well we could provide the Tomcat load by many ways but I rather like keep them compatible with AJP13 : - Add a new message from jk to tomcat, like the CPING/CPONG, to get the expect load on tomcat. jk could decide to send this information packet each X requests. - Add a custom header in reply

Re: Custom load balancing algorithm and mod_jk???

2005-02-10 Thread Mladen Turk
Henri Gomez wrote: Well we could provide the Tomcat load by many ways but I rather like keep them compatible with AJP13 : - Add a new message from jk to tomcat, like the CPING/CPONG, to get the expect load on tomcat. jk could decide to send this information packet each X requests. IMO those kind

Re: Custom load balancing algorithm and mod_jk???

2005-02-10 Thread Henri Gomez
+1, that's what the original goal of AJP14, extending protocol from just requests forwarding to service/system messaging. BTW, we should disable it by default on jk, to avoid problem with old tomcats release :) On Thu, 10 Feb 2005 11:02:22 +0100, Mladen Turk [EMAIL PROTECTED] wrote: Henri Gomez

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hi, We need to use Apache to load balance a set of Tomcat servers. However, we need to use a custom load-balancing algorithm, based on the usage of those servers. Is this possible with mod_jk? Would it be easy to extend it? Any other suggestions? Yes, it's possible, but

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread dhay
: | | Subject: Re: Custom load balancing algorithm and mod_jk

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread TECHNICAL DIRECTOR
--- HiWill you PLEASE stop sending us copies of all your e-mails! A. We don't understand them B. You are all restricting our available K C. We don't mind the odd Spam, but 20 per day is a mite OTT Mike Hancox...---...G4MJH...---...Technical Director Satellite Scene Group

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread Jim Jagielski
[EMAIL PROTECTED] wrote: Yes, we'd like to balance on CPU usage of tomcat servers that Apache is load balancing. Or, even, by having each tomcat app communicate with the balancer to tell it how busy it is. Our problem is that we receive a variety of requests, some of which are very

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hi, Thanks very much for the reply. Ok, how is it possible? What would we need to extend / where would we plug it in? Yes, we'd like to balance on CPU usage of tomcat servers that Apache is load balancing. Or, even, by having each tomcat app communicate with the balancer

Fwd: Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread TECHNICAL DIRECTOR
--- TECHNICAL DIRECTOR [EMAIL PROTECTED] wrote: Date: Wed, 9 Feb 2005 09:30:34 -0800 (PST) From: TECHNICAL DIRECTOR [EMAIL PROTECTED] Subject: Re: Custom load balancing algorithm and mod_jk??? To: Tomcat Developers List tomcat-dev@jakarta.apache.org --- HiWill you PLEASE stop sending

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread dhay
-dev@jakarta.apache.org | | cc: | | Subject: Re: Custom load balancing algorithm and mod_jk

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread Mladen Turk
TECHNICAL DIRECTOR wrote: --- HiWill you PLEASE stop sending us copies of all your e-mails! Sure, once when you unsubscribe from the Tomcat Developer List. You or someone that is using your account subscribed to this list, so first clean up at your doorsteps. Here is how-to

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread dhay
: | | Subject: Re: Custom load balancing algorithm and mod_jk

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread Mladen Turk
Jim Jagielski wrote: There's been talk, at least on the HTTPD side of things, to have the balancer mechanism be open to external weighting methods (for the httpd proxy module)... But it's only gone so far as it sure would be nice. But it is. You need to write your own mod_proxy_balancer.

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread Jim Jagielski
Mladen Turk wrote: Jim Jagielski wrote: There's been talk, at least on the HTTPD side of things, to have the balancer mechanism be open to external weighting methods (for the httpd proxy module)... But it's only gone so far as it sure would be nice. But it is. You need to write

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hi Mladen, That sounds feasible...but I have no idea how to do that!! Would you mind pointing me in the right direction? - how do we create custom headers? Where? Inside Tomcat. Not sure where, but some sort of filter should help. Take a look at filter documentation if

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread dhay
: | | Subject: Re: Custom load balancing algorithm and mod_jk

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Then I wish you all the luck :). Thanks! It seems a little daunting! So, exploring other possibilities before I undertake it... Is there any way to just make a call and update the load factors on the fly? Not right now. The mod_jk 1.2.9 will have something Apache2.1

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread dhay
: | | Subject: Re: Custom load balancing algorithm and mod_jk??? | | [EMAIL

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread Albrecht Rieger
: Subject: Re: Custom load balancing algorithm and mod_jk??? 09.02.2005 18:51

Re: Custom load balancing algorithm and mod_jk???

2005-02-09 Thread Mladen Turk
Albrecht Rieger wrote: hi Mladen, are you able to tell me, how to get rid of all this apache and tomcat emails I get and I do definitely NOT want ? Sure, unsibscribe from the Tomcat Developer List. You or someone that is using your account subscribed to this list. Here is how-to: