tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Lucia" <timlu...@yahoo.com>
Subject RE: "Busy" in jkmanager
Date Wed, 05 Jul 2006 10:55:15 GMT
While it is useful and important to understand the theoretical differences,
you should try all three methods and pick the one which performs the best
for your application under the expected load.  I used JMeter to test our
application and settled on T[raffic] as that gets the most requests done in
the least time.

Tim


> -----Original Message-----
> From: Mohan2005 [mailto:mohan@roomsnet.com]
> Sent: Tuesday, July 04, 2006 11:02 PM
> To: users@tomcat.apache.org
> Subject: Re: "Busy" in jkmanager
> 
> 
> Hello again,
> 
> According to the workers.properties document
> (http://tomcat.apache.org/connectors-doc/config/workers.html),
> 
> Definition of 'method' says the following...
> 
> Specifies what method load balancer is using for electing best worker. If
> method is set to R[equest] balancer will use number of requests to find
> the
> best worker. If set to T[raffic] balancer will use the network traffic
> between JK and Tomcat to find the best worker. If set to B[usyness]
> balancer
> will pick the worker with the lowest current load, based on how many
> requests the worker is currently serving. This number is divided by the
> workers lbfactor, and the lowest value (least busy) worker is picked.
> 
> And from your previous post you said..
> and I quote..
> 
> "Busy=number of parallel requests being processed for a worker at that
> point
> of time."
> and where "request = HTTP Request in progress"
> 
> Please clarify the difference between the 'Request' method and the 'Busy'
> method you had defined.
> 
> This is very important for us, since we currently use the 'Request' method
> in workers.properties and we want to know the exact working of the 2
> methods
> (Busy and Request). Since we plan on switching to a method that is best
> suited for performance and proper load balancing.
> 
> Our main confusion here is that both the 'Request' and 'Busy' methods
> refer
> to the same criteria, which is "Number of Requests'
> 
> Thanks again.
> Mohan
> --
> View this message in context: http://www.nabble.com/%22Busy%22-in-
> jkmanager-tf1888108.html#a5175444
> Sent from the Tomcat - User forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message