apache - Reduce Time for Tomcat Load Balancer Failover -


i new modjk. trying trying reduce time needed load balancing failover. load balancer works in round robin fashion. currently, takes 30s 40s load balancer send request connection when 1 connection fails. there code reduce time failover?

this code:

    #     worker.balancer.type=lb     worker.balancer.balance_workers=worker1,worker2     worker.balancer.sticky_session=false      # set properties worker1 (ajp13)     worker.worker1.type=ajp13     worker.worker1.host=192.168.200.5     worker.worker1.port=8009     worker.worker1.lbfactor=1       # set properties worker2 (ajp13)     worker.worker2.type=ajp13     worker.worker2.host=192.168.200.1     worker.worker2.port=8009     worker.worker2.lbfactor=1 

looking forward help. thank much!

what looking ping_mode setting documented in workers.properties configuration reference. sets way mod_jk checks see back-end connection working properly. if set ping_mode either p or a (a implies p), connection "tested" every single request sent back-end server. use i configure time interval checking connections.

the ajp/1.3 has light "ping" protocol it's not terribly expensive configure ping_mode.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -