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

Reply via email to