HAProxy

Original author(s)| Willy Tarreau
Initial release| December 16, 2001; 24 years ago (2001-12-16)
Written in| C
Operating system| Linux, FreeBSD, OpenBSD, Solaris (8/9/10), AIX (5.1–5.3), macOS, Cygwin
License| GNU General Public License Version 2

HAProxy is a free and open source software that provides a high availability load balancer and proxy (forward proxy,[1] reverse proxy) for TCP and HTTP-based applications that spreads requests across multiple servers.[2] It is written in C[3] and has a reputation for being fast and efficient (in terms of processor and memory usage).[4]

HAProxy is used by a number of high-profile websites including GoDaddy, GitHub, Bitbucket,[5] Stack Overflow,[6] Reddit, Slack,[7] Speedtest.net, Tumblr, Twitter[8][9] and Tuenti[10] and is used in the OpsWorks product from Amazon Web Services.[11]

## Contents

* 1 History
* 2 Features
* 3 HAProxy Community vs HAProxy Enterprise
* 4 ALOHA
* 5 Versions
* 6 Performance
* 7 Similar software
* 8 See also
* 9 References
* 10 External links

## History

HAProxy was written in 2000[12] by Willy Tarreau,[13] a core contributor to the Linux kernel,[14] who still maintains the project.

In 2013, the company HAProxy Technologies, LLC was created. The company provides a commercial offering, HAProxy Enterprise and appliance-based application-delivery controllers named ALOHA.

## Features

HAProxy has the following features:

* Layer 4 (TCP) and Layer 7 (HTTP) load balancing
* Multi-factor stickiness
* URL rewriting
* Rate limiting
* SSL/TLS termination proxy
* Gzip compression
* Caching
* PROXY Protocol support
* Scriptable multi-layer Health checking
* Connection and HTTP message logging
* HTTP/2[15] support on both sides
* HTTP/3[16] support
* WebSocket (RFC6455 and RFC8441)
* UDP/TCP Syslog load-balancing and forwarding/transcribing (RFC3164 and RFC5424)
* Event-driven Multithreaded architecture
* Hitless reloads[17]
* gRPC Support[18]
* Lua and SPOE Support
* API Support
* Layer 4/7 Retries
* Simplified circuit breaking
* Advanced debugging and tracing facilities
* Distributed stick-tables for stats collection and DoS mitigation

## HAProxy Community vs HAProxy Enterprise

HAProxy Enterprise Edition is an enterprise-class version of HAProxy that includes enterprise suite of add-ons, expert support, and professional services. It has some features backported from the HAProxy development branch.[19]

## ALOHA

HAProxy Technologies’ ALOHA is a plug-and-play load-balancing appliance that can be deployed in any environment. ALOHA provides a graphical interface and a templating system that can be used to deploy and configure the appliance.[20]

## Versions

HAProxy has had the following version releases:[21]

Version  | Release date  | End of life

|
|

1.0  | 2001-12-16  | 2001-12-30
1.1  | 2002-03-10  | 2006-01-29
1.2  | 2003-11-09  | 2011-08-06
1.3  | 2006-06-29  | 2016-03-14
1.4  | 2010-02-26  | 2018-02-08
1.5  | 2014-06-19  | 2020-01-10
1.6  | 2015-10-13  | 2020-Q4
1.7  | 2016-11-25  | 2021-Q4
1.8  | 2017-11-26  | 2022-Q4
1.9  | 2018-12-19  | 2020-Q2
2.0  | 2019-06-16  | 2024-Q2
2.1  | 2019-11-25  | 2021-Q1
2.2 LTS  | 2020-07-07  | 2025-Q2 (critical fixes only)
2.3  | 2020-11-05  | 2022-Q1
2.4 LTS  | 2021-05-14  | 2026-Q2 (critical fixes only)
2.5  | 2021-11-23  | 2023-Q1
2.6 LTS  | 2022-05-31  | 2027-Q2
2.7  | 2022-12-01  | 2024-Q1
2.8 LTS  | 2023-05-31  | 2028-Q2
2.9  | 2023-12-05  | 2025-Q1
3.0 LTS  | 2024-05-29  | 2029-Q2
3.1  | 2024-11-26  | 2026-Q1
3.2 LTS  | 2025-05-28  | 2030-Q2
{{{2}}}

## Performance

Servers equipped with 6 to 8 cores generally achieve between 200,000 and 500,000 requests per second, and have no trouble saturating a 25 Gbit/s connection under Linux.[22] 64-core ARM servers were shown to reach 2 million requests per second and 100 Gbit/s.[23]

## Similar software

* Nginx
* Gearman
* Pound
* Varnish
* Envoy by CNCF

## See also

* LAMP, LYME, and LEAP

## References

1. ↑ "HAProxy as Forward Proxy". https://www.haproxy.com/user-spotlight-series/haproxy-as-egress-controller.
2. ↑ "MySQL Load Balancing with HAProxy". Severalnines AB. 2011. http://www.severalnines.com/resources/clustercontrol-mysql-haproxy-load-balancing-tutorial#what. Retrieved 19 February 2013.
3. ↑ "HAProxy on Freecode". http://freecode.com/projects/haproxy. Retrieved 5 April 2013.
4. ↑ Tsoukalos, M.. "HAProxy: TCP load balancer.". https://search.ebscohost.com/login.aspx?direct=true&db=f6h&AN=123050329&site=eds-live&scope=site.
5. ↑ "The inner guts of Bitbucket". 24 July 2014. https://www.youtube.com/watch?v=2ll2ER3wpus. Retrieved 26 February 2015.
6. ↑ "What it takes to run Stack Overflow". http://nickcraver.com/blog/2013/11/22/what-it-takes-to-run-stack-overflow/. Retrieved 22 November 2013.
7. ↑ "All Hands on Deck". Slack Engineering. 29 June 2020. https://slack.engineering/all-hands-on-deck-91d6986c3ee.
8. ↑ "HAProxy: they use it!". http://haproxy.1wt.eu/they-use-it.html. Retrieved 5 April 2013.
9. ↑ "List of sites using HAProxy". http://lineofthought.com/tools/haproxy.
10. ↑ "Tuenti+WebRTC (Voip2day 2014)". https://vimeo.com/109608566.
11. ↑ "HAProxy layer - AWS Opsworks". http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-load.html. Retrieved 5 April 2013.
12. ↑ "HAProxy: design choices and history". http://haproxy.1wt.eu/#desi. Retrieved 5 April 2013.
13. ↑ "Willy Tarreau: About me". http://1wt.eu/#wami. Retrieved 5 April 2013.
14. ↑ "LKML: Willy Tarreau: [ANNOUNCE Linux 2.4.37.11"]. https://lkml.org/lkml/2010/12/18/73. Retrieved 5 April 2013.
15. ↑ Corbett, Daniel (2018-12-19). "HAProxy 1.9 Has Arrived" (in en-US). https://www.haproxy.com/blog/haproxy-1-9-has-arrived/.
16. ↑ Ramirez, Nick (2022-05-31). "Announcing HAProxy 2.6" (in en-US). https://www.haproxy.com/blog/announcing-haproxy-2-6#http3-over-quic.
17. ↑ Mhedhbi, Moemen (2018-05-31). "Hitless Reloads / Hot Restarts with HAProxy!" (in en-US). https://www.haproxy.com/blog/hitless-reloads-with-haproxy-howto/.
18. ↑ Ramirez, Nick (2019-01-16). "HAProxy 1.9.2 Adds gRPC Support" (in en-US). https://www.haproxy.com/blog/haproxy-1-9-2-adds-grpc-support/.
19. ↑ "HAProxy Technologies Announces Improvements to Performance, Management, and Security for Enterprises" (Press release). 2 May 2018. Retrieved 23 Oct 2018.
20. ↑ "ALOHA Hardware Appliance Application Delivery Controller". https://www.haproxy.com/products/aloha-hardware-appliance/.
21. ↑ "HAProxy". http://www.haproxy.org.
22. ↑ haproxy.org#plat
23. ↑ www.haproxy.com/blog/haproxy-forwards-over-2-million-http-requests-per-second-on-a-single-aws-arm-instance/

## External links

* HAProxy Enterprise Website
* HAProxy Wiki on GitHub
* HAProxy issue tracker on GitHub

* v
* t
* e

Web server software

Comparisons

Most popular|

* Apache
* Nginx
* IIS
* IIS Express
* LiteSpeed Web Server

Other|

* Cherokee
* Hiawatha
* iPlanet
* Lighttpd
* Mongoose
* Mongrel2
* Monkey
* POCO
* Traffic Server
* Jexus
* Yaws
* Caddy
* GlassFish
* Jetty
* JOnAS
* NetWeaver
* Resin
* thttpd
* Tomcat
* WebLogic
* WebSphere
* WildFly
* Caudium
* Roxen
* Gunicorn
* Paste
* Puma
* Tornado
* Twisted
* PyGopherd
* Zope
* WEBrick
* Passenger
* AOLserver
* NaviServer
* JEUS

Retired|

* Boa
* CERN httpd
* NCSA HTTPd
* Xitami
* Zeus
* Mongrel

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/HAProxy. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:HAProxy&oldid=4137200"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template