Knowledge Base | Basics

Enable Sticky Sessions in HAProxy
HyperText Transfer Protocol (HTTP), the protocol that defines the language browsers use to communicate with web servers, is stateless, meaning that after you make a web request and a server sends back a response, no memory of that interaction remains. To make anything...

How Load Balancing Improves the Performance of Your Applications
Load balancing is an indispensable technique for improving a website's performance. I'll explain why. With Firefox's Web Developer Tools open, I visited a popular retailer's website to see how many HTTP requests my browser made when loading the site. In this case, I...
![[On-Demand Webinar] HAProxy Skills Lab: Health Checking Servers](https://cdn.haproxy.com/wp-content/uploads/2022/01/Webinar-Health-Checking-Servers-HAProxy-1-1000x500.png)
[On-Demand Webinar] HAProxy Skills Lab: Health Checking Servers
A common misconception is that load balancing is enough to achieve high availability. That is only true when you factor in one, very important feature: health checks! Health checks monitor your servers for issues. If a server loses connectivity or begins returning...

What Is Load Balancing
Load balancing means splitting up network traffic so that you can distribute it evenly across a group of backend servers. For example, if you run two web servers, both hosting a copy of the same website, then you can balance the traffic across them, sending half to...

How to Enable Health Checks in HAProxy
HAProxy provides active, passive, and agent health checks. HAProxy makes your web applications highly available by spreading requests across a pool of backend servers. If one or even several servers fail, clients can still use your app as long as there are...

Testing Your HAProxy Configuration
Learn how to test your HAProxy Configuration. Properly testing your HAProxy configuration file is a simple, yet crucial part of administering your load balancer. Remembering to run one simple command after making a change to your configuration file can save you from...

Install HAProxy on Ubuntu
Learn how to Install HAProxy on Ubuntu 20.04. Ubuntu 20.04 is a great choice for installing your HAProxy software load balancer. It's a free Linux operating system that's fast, secure, and best of all, it's easy to use. One of the features that makes Ubuntu so...

How to Run HAProxy with Docker
Can you run HAProxy as a Docker container? Yes! Did you even need to ask? Docker is ubiquitous these days and you'll find that many applications have been Docker-ized; the HAProxy load balancer is no exception. Pardon the cliché, but HAProxy was born for this....

HAProxy Configuration Basics: Load Balance Your Servers
Learn how to set up basic load balancing using the HAProxy configuration file. If you're new to using the HAProxy load balancer, you've come to the right place. In this blog post, you'll learn how to configure HAProxy for basic load balancing. I am assuming...

Visualize HAProxy Metrics with InfluxDB
HAProxy generates over a hundred metrics to give you a nearly real-time view of the state of your load balancers and the services they proxy, but to get the most from this data, you need a way to visualize it. InfluxData’s InfluxDB suite of applications takes...