HAProxy 3.0 Introduces New Features and Improved Flexibility

Explore HAProxy 3.0's latest features, including enhanced load balancing, new TLS certificate handling, and more.

HAProxy announced the launch of HAProxy 3.0, the leading industry free & open-source world’s fastest and most utilized load balancer and proxy for TCP and HTTP-based applications.

Indeed, this field has several key players, such as the cloud-focused Traefik, a major competitor. At the same time, the rising star Caddy and the favorite among self-hosting enthusiasts, NPM, are also noteworthy options.

However, when it comes to enterprise solutions, HAProxy leads the pack. It recently surpassed the impressive one billion downloads on Docker Hub, which is proof enough of this.

The just released 3.0 version brings many new features, thus improving performance, security, and flexibility across various digital ecosystems. The major ones are:

  • Enhanced Certificate Management: The introduction of the crt-store configuration section revolutionizes SSL certificate storage and usage, replacing crt-list and offering a more structured approach with aliases for easier certificate referencing.
  • HTTP/2 Optimization: Addressing HTTP/2’s intricacies, HAProxy now features mechanisms to limit problematic requests and improve service reliability by tracking and managing glitchy connections.
  • Persistent Stats and GUID Assignment: The new guid directive ensures continuous tracking of configuration objects across sessions, facilitating statistics persistence even after the system reloads.
  • Syslog Load Balancing and Logging Improvements: Syslog message handling has been enhanced with weighted server lines and new logging formats in JSON and CBOR, providing more flexibility and structured data management.
  • Advanced Fetch Methods: Additional fetch methods have been introduced, revealing data points previously accessible only within logs, which enhances data-driven decision-making and system monitoring.

Apart from these, however, we should also note:

  • Lua Scripting Performance: A reengineered loading mechanism promises significant speed improvements for single-threaded Lua scripts.
  • Stick Table Enhancements: Redesigned locking mechanisms in stick tables drastically improve performance, especially on systems with high thread counts.
  • Flexible TLS Management: New directives allow default and conditional TLS certificate selection, streamlining operations for multiple hosted sites.
  • Enhanced Traffic Prioritization: Adjustments to the Differentiated Services (DS) field and fwmark settings enable refined traffic management and prioritization at both the front end and the back end.

There are also some breaking changes. For example, HAProxy 3.0 enhances command processing to prevent the execution of multiple simultaneous commands, addressing potential inconsistencies. Moreover, the previously ignored enabled keyword for dynamic servers is now actively rejected to avoid configuration errors.

HAProxy 3.0 can be installed via Docker or compiled from the source for those eager to try the new release. For more information about all changes, refer to the release announcement, review the changelog, or visit its management guide.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%