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.[3] It is written in C[4] and has a reputation for being fast and efficient (in terms of processor and memory usage).[5]

HAProxy
Original author(s)Willy Tarreau
Initial releaseDecember 16, 2001 (2001-12-16)
Stable release
2.1.7 / June 9, 2020 (2020-06-09)[1]
Preview release
2.2-dev10 / June 19, 2020 (2020-06-19)[2]
Repository
Written inC
Operating systemLinux, FreeBSD, OpenBSD, Solaris (8/9/10), AIX (5.1–5.3), macOS, Cygwin
LicenseGNU General Public License Version 2
Websitewww.haproxy.org

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

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[15] 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[16]
  • Multithreading
  • Hitless Reloads[17]
  • gRPC Support[18]
  • 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 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.[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] 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
2.0 16 Jun 2019
2.1 25 Nov 2019

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.[21]

Similar software

See also

References

  1. "2.1 branch CHANGELOG". Retrieved 10 June 2020.
  2. "2.2 branch CHANGELOG". Retrieved 19 June 2020.
  3. "MySQL Load Balancing with HAProxy". Severalnines AB. 2011. Retrieved 19 February 2013.
  4. "HAProxy on Freecode". Retrieved 5 April 2013.
  5. "Nuts & Bolts: HAproxy". Retrieved 8 April 2013.
  6. "The inner guts of Bitbucket". Retrieved 26 February 2015.
  7. "What it takes to run Stack Overflow". Retrieved 22 November 2013.
  8. "HAProxy: they use it!". Retrieved 5 April 2013.
  9. "List of sites using HAProxy". Archived from the original on 10 June 2013. Retrieved 5 April 2013.
  10. "Tuenti+WebRTC (Voip2day 2014)".
  11. "HAProxy layer - AWS Opsworks". Retrieved 5 April 2013.
  12. "HAProxy: design choices and history". Retrieved 5 April 2013.
  13. "Willy Tarreau: About me". Retrieved 5 April 2013.
  14. "LKML: Willy Tarreau: [ANNOUNCE] Linux 2.4.37.11". Retrieved 5 April 2013.
  15. "HAProxy Technologies overview". Retrieved 21 Oct 2018.
  16. Corbett, Daniel (2018-12-19). "HAProxy 1.9 Has Arrived". HAProxy Technologies. Retrieved 2019-01-22.
  17. Mhedhbi, Moemen (2018-05-31). "Hitless Reloads / Hot Restarts with HAProxy!". HAProxy Technologies. Retrieved 2019-01-22.
  18. Ramirez, Nick (2019-01-16). "HAProxy 1.9.2 Adds gRPC Support". HAProxy Technologies. Retrieved 2019-01-22.
  19. "HAProxy Technologies Announces Improvements to Performance, Management, and Security for Enterprises". Retrieved 23 Oct 2018.
  20. "ALOHA Hardware Appliance Application Delivery Controller". Retrieved 23 Oct 2018.
  21. haproxy.1wt.eu#plat
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.