HAProxy
HAProxy is free, open source software that provides a high availability load balancer and proxy server for TCP and HTTP-based applications that spreads requests across multiple servers.[1] It is written in C[2] and has a reputation for being fast and efficient (in terms of processor and memory usage).[3]
HAProxy is used by a number of high-profile websites including GoDaddy, GitHub, Bitbucket,[4] Stack Overflow,[5] Reddit, Speedtest.net, Tumblr, Twitter[6][7] and Tuenti[8] and is used in the OpsWorks product from Amazon Web Services.[9]
History
HAProxy was written in 2000[10] by Willy Tarreau,[11] a core contributor to the Linux kernel,[12] who still maintains the project.
In 2013, the company HAProxy Technologies, LLC was created[13] to continue developing the software in addition to contributions from the open-source community. The company provides a commercial offering, HAProxy Enterprise and appliance-based application-delivery controllers named ALOHA. The company provides technical support and additional modules that extend the functionality of HAProxy.
Features
HAProxy has the following features:
- Layer 4 (TCP) and Layer 7 (HTTP) load balancing
- URL rewriting
- Rate limiting
- SSL/TLS termination
- Gzip compression
- Proxy Protocol support
- Health checking
- Connection and HTTP message logging
- HTTP/2[14]
- Multithreading
- Hitless Reloads[15]
- gRPC Support[16]
- Lua and SPOE Support
- API Support
- Layer 4 Retries
- Simplified circuit breaking
HAProxy Community vs HAProxy Enterprise
HAProxy Enterprise Edition is an enterprise-class version of HAProxy that includes a robust and cutting-edge code base, enterprise suite of add-ons, expert support, and professional services. At its core, it incorporates feature backports from the HAProxy development branch for customers who require immediate access to the latest functionality in a hardened version of code.[17]
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.[18] Its main intention is to be a direct competitor to Hardware Load Balancing boxes/appliances to companies that still provide separate appliance load balancers, such as F5 Networks.
Versions
HAProxy has had the following version releases:
Version | Date |
---|---|
1.0 | 16 Dec 2001 |
1.1 | 10 Mar 2002 |
1.2 | 9 Sep 2003 |
1.3 | 14 Mar 2016 |
1.4 | 14 Mar 2016 |
1.5 | 25 Dec 2016 |
1.6 | 2 Jan 2018 |
1.7 | 30 Apr 2018 |
1.8 | 20 Sep 2018 |
1.9 | 19 Dec 2018 |
Performance
Servers equipped with a dual-core Opteron or Xeon processor generally achieve between 15000 and 40000 hits per second, and have no trouble saturating a 2 Gbit/sec connection under Linux.[19]
Similar software
See also
References
- ^ "MySQL Load Balancing with HAProxy". Severalnines AB. 2011. Retrieved 19 February 2013.
- ^ "HAProxy on Freecode". Retrieved 5 April 2013.
- ^ "Nuts & Bolts: HAproxy". Retrieved 8 April 2013.
- ^ "The inner guts of Bitbucket". Retrieved 26 February 2015.
- ^ "What it takes to run Stack Overflow". Retrieved 22 November 2013.
- ^ "HAProxy: they use it!". Retrieved 5 April 2013.
- ^ "List of sites using HAProxy". Archived from the original on 10 June 2013. Retrieved 5 April 2013.
- ^ "Tuenti+WebRTC (Voip2day 2014)".
- ^ "HAProxy layer - AWS Opsworks". Retrieved 5 April 2013.
- ^ "HAProxy: design choices and history". Retrieved 5 April 2013.
- ^ "Willy Tarreau: About me". Retrieved 5 April 2013.
- ^ "LKML: Willy Tarreau: [ANNOUNCE] Linux 2.4.37.11". Retrieved 5 April 2013.
- ^ "HAProxy Technologies overview". Retrieved 21 Oct 2018.
- ^ Corbett, Daniel (2018-12-19). "HAProxy 1.9 Has Arrived". HAProxy Technologies. Retrieved 2019-01-22.
- ^ Mhedhbi, Moemen (2018-05-31). "Hitless Reloads / Hot Restarts with HAProxy!". HAProxy Technologies. Retrieved 2019-01-22.
- ^ Ramirez, Nick (2019-01-16). "HAProxy 1.9.2 Adds gRPC Support". HAProxy Technologies. Retrieved 2019-01-22.
- ^ "HAProxy Technologies Announces Improvements to Performance, Management, and Security for Enterprises". Retrieved 23 Oct 2018.
- ^ "ALOHA Hardware Appliance Application Delivery Controller". Retrieved 23 Oct 2018.
- ^ haproxy
.1wt .eu #plat
External links