tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: Mod_jk load balacing algorithm
Date Mon, 07 Aug 2006 17:14:41 GMT
mod_jk neither supports round-robin, nor random load-balancing.

Currently you can choose between three algorithms:

method=B (busyness): choose the worker with the lowwest number of 
requests currently in processing.

method=R (requests): choose the worker that did the lowest number of 
requests until now

method=T (traffic): choose the worker that received+sent the lowwest 
number of bytes until now

In case you use "busyness", you might observe behaviour that's very 
close to round-robin during times of very low load. If load is very low, 
most of the time all workers will have no request in processing. So the 
busyness counter will always be equal to zero. Then mod_jk will pick on 
worker after the other, similar to round-robin.

As soon as there will be real load, behaviour will differ.

Regards,

Rainer

Sharma, Siddharth wrote:
> Is it possible to change mod_jk's load-balacing algorithm to random (from
> round robin)?
> If yes, how?
> 
> TIA
> Sidd
> 
> 
> ---------------------------------------------------------------------
> 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