Apache Load Balance Using Haproxy
HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing. Supporting tens of thousands of connections is clearly realistic with todays hardware. Its mode of operation makes its integration into existing architectures very easy and riskless, while still offering the possibility not to expose fragile web servers to the Net.
For configuring haproxy you need the following setups. Here I used ACL.
1.1. Using ACL
The use of Access Control Lists (ACL) provides a flexible solution to perform content switching and generally to take decisions based on content extracted from the request, the response or any environmental status. The principle is simple
1.2. Load Balancer
1.3 Web Server 1
1.4. Web Server 2
1.5. First download and install haproxy
To get latest version click here
类别： apache专栏 查看评论