80 likes | 201 Vues
This document discusses mod_jk, an advanced load balancing solution supporting AJP (Apache JServ Protocol) and various web servers like Apache and IIS. It highlights its features, including failover, domain model clustering, and support for large AJP packets. It examines how mod_jk balances requests, sessions, and traffic among nodes, ensuring efficient performance. Furthermore, it covers methods for node failure detection and recovery. Insights into competing solutions like mod_proxy are also provided, underscoring mod_jk's robust capabilities for game platform integration.
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