Lvs,nginx,haproxy as Load balancer comparison
LVS: Advantages: Strong load balancing capability, working in 4 layer (kernel) stable, simple Configuration Application range disadvantage: The health monitoring of backend real server is not supported
Nginx: Strong regular expression, working on the 7-layer nginx to the network of the dependence of the small nginx configuration simple, many modules Nginx support backend Real server Health Check disadvantage: Nginx Community Edition does not support URLs for health checks of back-end servers Nginx does not support 4-tier load balancing, only support HTTP protocol Nginx session save function is poor, only support Ip_hash scheduling algorithm
Haproxy Benefits Support 4-layer and 7-layer forwarding (HTTP and TCP mode) support for health monitoring of back-end servers via URLs The session maintains a strong disadvantage of poor scalability
This article is from the "Homecoming" blog, make sure to keep this source http://sixijie123.blog.51cto.com/11880770/1880464
Lvs,nginx,haproxy Simple Comparison