HAProxy is an open-source load balancer known for reliability and performance. It handles millions of connections on modest hardware.
Configuration defines frontends (where traffic arrives), backends (where it goes), and rules for routing between them.
frontend http_front
bind *:80
default_backend web_servers
backend web_servers
balance roundrobin
server web1 192.168.1.10:80 check
server web2 192.168.1.11:80 check
HAProxy supports Layer and Layer , health checks, sticky sessions, and SSL termination. Many companies use it as their primary load balancer.