Eliminating the lb will give a slight performance improvement, using the lb will give you a subtle management improvement (being able to stop the worker in jkstatus).

Different is also the way errors are handled (lb takes workers offline after errors for a minute, direct workers will be tried for each request even after they have thrown errors).

Raman, Jay wrote:
Is there a difference between the following 2 configurations of
workers.properties?

In the first case it is a load balanced configuration with only one
worker

The second case is not a load balanced configuration.

When there is only one worker does modJK treat it as if it is the second
case?

Are there performance advantages in the second case?

Jay

# Load balancer with 1 worker

worker.list=loadbalancer

worker.router.host=lxdnp636.acme.com

worker.router.port=8009

worker.router.type=ajp13

worker.router.lbfactor=1

worker.router.cache_timeout=120

worker.router.socket_keepalive=1

worker.router.socket_timeout=60

worker.router.disabled=True

worker.loadbalancer.type=lb

worker.loadbalancer.sticky_session=1

worker.loadbalancer.balanced_workers=router

#

# No load balancer

#
worker.list=router

worker.router.host=lxdnp636.acme.com

worker.router.port=8009

worker.router.type=ajp13

worker.router.lbfactor=1

worker.router.cache_timeout=120

worker.router.socket_keepalive=1

worker.router.socket_timeout=60

worker.router.disabled=True


--
kippdata informationstechnologie GmbH
Bornheimer Str. 33a
53111 Bonn

Tel.: 0228/98549-0
Fax:  0228/98549-50
www.kippdata.de
=======================
kippdata informationstechnologie GmbH
Bornheimer Str. 33a
D-53111 Bonn

Tel.: +49/0228/98549-0
Fax:  +49/0228/98549-50
www.kippdata.de

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

Reply via email to