HAProxy logo

HAProxy

High-performance TCP and HTTP load balancer that fronts demanding sites at L4 and L7

Repository activity
  • Stars6.6k
  • Forks932
  • Open Issues364
haproxy health score - Linux Foundation Insights
License

Other

Languages
  • C
  • C++
  • Shell
HAProxy screenshot

About HAProxy

HAProxy earned its reputation as the load balancer that sits in front of some of the busiest sites on the internet without becoming the bottleneck. It works at both Layer 4, balancing raw TCP, and Layer 7, where it can inspect and route HTTP, so one proxy covers everything from database connections to web requests.

The feature set is built for production traffic under pressure: HTTP/2 and HTTPS, IPv6, FastCGI, the PROXY protocol, content caching, and DDoS mitigation, all aimed at high availability and even distribution across backend pools. TLS 1.3 termination rounds out the front-door duties.

Written in C and developed by HAProxy Technologies, it ships as source you build per the INSTALL file, with prebuilt packages listed on the project wiki. Self-host on Linux. Licensed GPL-2.0-or-later with LGPL-2.1 headers.

Key features

  • L4 (TCP) and L7 (HTTP) load balancing
  • Reverse proxying with high availability across backends
  • HTTP/2, HTTPS, IPv6, and TLS 1.3 termination
  • FastCGI and PROXY protocol support
  • Content caching and DDoS mitigation

Details

First released
2018
Deployment
Self-hostable
Language
C
Layer
L4 · L7
Company
HAProxy Technologies
License
GPL-2.0-or-later · LGPL-2.1 headers