I am new to modjk. I am trying trying to reduce the time needed for load balancing failover. Load balancer works in a round robin fashion. Currently, it takes about 30s to 40s for the load balancer to send request to another connection when one connection fails. Is there a code to reduce the time for failover?
This is my code:
#
worker.balancer.type=lb
worker.balancer.balance_workers=worker1,worker2
worker.balancer.sticky_session=false
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=192.168.200.5
worker.worker1.port=8009
worker.worker1.lbfactor=1
# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=192.168.200.1
worker.worker2.port=8009
worker.worker2.lbfactor=1
Looking forward to any help. Thank you so much!