HAProxy (High Availability Proxy) is an open source load balancer through which you can load balance any TCP service. It is particularly suited for HTTP load balancing as it supports session persistence and layer 7 processing.
Aug 18, 2013
HAProxy is an open source software which can load balance HTTP and TCP servers. In the previous article on HAProxy we configured load balancing for HTTP and in this one we'll do the same for MySQL. All your MySQL servers have to be configured to perform Master-Master replication as load balancing involves both reading and writing to all the backends.