tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@lexmark.com
Subject Re: JK1.2.9 and dynamic change of properties
Date Tue, 01 Mar 2005 17:46:12 GMT

Hi Mladen,

We'd have our own mechanism to calculate the load on a particular server -
I was actually asking if, and more importantly how (!), we'd adjust the
balance factors on the fly from our app?

cheers.

David



|---------+---------------------------->
|         |           Mladen Turk      |
|         |           <mladen.turk@jbos|
|         |           s.com>           |
|         |                            |
|         |           03/01/2005 12:36 |
|         |           PM               |
|         |           Please respond to|
|         |           "Tomcat Users    |
|         |           List"            |
|         |                            |
|---------+---------------------------->
  >---------------------------------------------------------------------------------------------------------------|
  |                                                                                      
                        |
  |       To:       Tomcat Users List <tomcat-user@jakarta.apache.org>             
                              |
  |       cc:                                                                            
                        |
  |       Subject:  Re: JK1.2.9 and dynamic change of properties                         
                        |
  >---------------------------------------------------------------------------------------------------------------|




dhay@lexmark.com wrote:
> Hi Mladen,
>
> Just to clarify - will this allow us to configure the load-balancing on
the
> fly according to the load of the tomcat's involved?
>

If you mean to balance according to CPU utilization, it won't
do that. For that we would need some native component that
would measure the CPU usage on Tomcat side.
The closest you can get is to use the 'transfer' load
balancer method, and instead balancing on number of requests,
balance on actual data read/transferred to Tomcat.
You can then adjust balance factors depending on application
and backend specmarks.

For example if you query a database the result set might return
one or many rows, so the actual data transferred will reflect
the CPU usage for that request (in a way of course).

Regards,
Mladen


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






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


Mime
View raw message