HAProxy introduction, haproxy
Simple Description
HAProxy provides high availability, Server Load balancer, and TCP and HTTP application-based proxy. It supports Virtual Hosts and is a free, fast, and reliable solution. HAProxy is especially suitable for websites with extremely high loads, which usually require session persistence or layer-7 processing. HAProxy runs on the current hardware and supports tens of thousands of concurrent connections. In addition, its running mode enables it to be easily and securely integrated into your current architecture, while protecting your web servers from being exposed to the network.
The haproxy configuration is divided into the following parts:
1. global: The parameter is process-level, usually related to the operating system. These parameters are generally set only once. If the configuration is correct, you do not need to modify them again.
2. defaults: Configure Default parameters. These parameters can be used by frontend, backend, and Listen components.
3. frontend: The Frontend virtual node that receives the request. frontend can specify the backend
4. backend: Backend service cluster configuration, which is a real server. One backend corresponds to one or more physical servers.
5. Combination of Listen Fronted and backend
Official Website address
Http://www.haproxy.org/
Architecture Diagram
Function Comparison
Download Method