tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@lexmark.com
Subject Re: Custom load balancing algorithm and mod_jk???
Date Wed, 09 Feb 2005 17:29:18 GMT

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 to tell it how busy it is.

Our problem is that we receive a variety of requests, some of which are
very resource intensive and tie up that tomcat for a good while.  Hence a
round-robin or balance factors algorithm are not very effective.

Do you have any ideas of a possible solution?

Many thanks,

David



|---------+---------------------------->
|         |           Mladen Turk      |
|         |           <mturk@apache.org|
|         |           >                |
|         |                            |
|         |           02/09/2005 12:17 |
|         |           PM               |
|         |           Please respond to|
|         |           "Tomcat          |
|         |           Developers List" |
|         |                            |
|---------+---------------------------->
  >--------------------------------------------------------------------------------------------------------------------|
  |                                                                                      
                             |
  |       To:       Tomcat Developers List <tomcat-dev@jakarta.apache.org>         
                                   |
  |       cc:                                                                            
                             |
  |       Subject:  Re: Custom load balancing algorithm and mod_jk???                    
                             |
  >--------------------------------------------------------------------------------------------------------------------|




dhay@lexmark.com 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 I doubt it has any practical usage.
Since you are using load balancer, then usage is proportional
to it's balance factors.

If you ment to balance on CPU usage of remote backends,
then that'll be hard or even impossible due to AJP13
protocol limitations. That's why we are trying to make
a AJP14 protocol.

Regards,
Mladen.

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