80 likes | 190 Views
mod_jk Performance & Features V0.1 – 2011-02-16. Nguyễn Bá Thành Software Manager, Game Platform & Integration. Alternatives. mod_proxy : simple aternative mod_proxy+mod_proxy_ajp (Apache 2.2 +): more features than mod_proxy , support basic load balancing
E N D
mod_jkPerformance & FeaturesV0.1 – 2011-02-16 NguyễnBáThành Software Manager, Game Platform & Integration
Alternatives • mod_proxy: simple aternative • mod_proxy+mod_proxy_ajp(Apache 2.2+): more features than mod_proxy, support basic load balancing • mod_jk: advanced features (lb, failover, domain model clustering, large AJP packet size)
Performance Figures • // TODO
Notable Features • Support many popular web servers (Apache, IIS, Netscape/SunOne) • Support AJP (Apache JServProtocol) • Advanced Load Balancer with Domain model balancing • Advanced failover and node failure detection
Request Distribution • Request (default): balance the number of requests (default) • Session: balance the number of request • Traffic: balance the traffic between mod_jk and nodes • Busyness: balance the (con)current number of requests.
Limit Number of Requests to a Node • worker.node1.connection_pool_size=100
Failover • Retry: • on the same node • check the next node • Mark node as “failure” • Retry to recover a failure node