You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mohan Wickramasinghe <mo...@roomsnet.com> on 2006/03/06 15:59:21 UTC

Please Give The Definition of lbfactor

Please give us exactly what and how the lbfactor should be set to load
balance between 10 workers "equally".

We are confused with the settings
thanks



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


RE: Please Give The Definition of lbfactor

Posted by Tim Lucia <ti...@yahoo.com>.
Don't set it (defaults to 1 for all.)  That will treat all workers equally,
regardless of the resources available on each worker's machine.

See http://tomcat.apache.org/connectors-doc/config/workers.html for complete
details.  

lbfactor (1)

Integer number used when the worker will be used inside load balancer
worker, this is the load-balancing factor for the worker. The load-balancing
factor is how much we expect this worker to work, or the worker's work
quota. Load balancing factor is compared with other workers that makes the
load balancer. For example if one worker has lb_factor 5 times higher then
other worker, then it will receive five times more requests.


Tim

-----Original Message-----
From: Mohan Wickramasinghe [mailto:mohan@roomsnet.com] 
Sent: Monday, March 06, 2006 9:59 AM
To: users@tomcat.apache.org
Subject: Please Give The Definition of lbfactor

Please give us exactly what and how the lbfactor should be set to load
balance between 10 workers "equally".

We are confused with the settings
thanks



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



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