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      |
|         |           <[EMAIL PROTECTED]|
|         |           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                
                                  |
  
>---------------------------------------------------------------------------------------------------------------|




[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to