blog
HAProxy: All the Severalnines Resources
Load balancers are an essential component in MySQL and MariaDB database high availability; especially when making topology changes transparent to applications and implementing read-write split functionality.
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.
ClusterControl provides support for deployment, configuration and optimization of HAProxy as well as for other popular load balancing and caching technologies for MySQL and MariaDB databases.
Here are our top resources for HAProxy to get you started with this widely used technology.
Tutorials
MySQL Load Balancing with HAProxy – Tutorial
We have recently updated our tutorial on MySQL Load Balancing with HAProxy. Read about deployment and configuration, monitoring, ongoing maintenance, health check methods, read-write splitting, redundancy with VIP and Keepalived and more.
On-Demand Webinars
How to deploy and manage HAProxy, MaxScale or ProxySQL with ClusterControl
In this webinar we talk about support for proxies for MySQL HA setups in ClusterControl: how they differ and what their pros and cons are. And we show you how you can easily deploy and manage HAProxy, MaxScale and ProxySQL from ClusterControl during a live demo.
How To Set Up SQL Load Balancing With HAProxy
In this webinar, we cover the concepts around the popular open-source HAProxy load balancer, and shows you how to use it with your SQL-based database clusters.
Performance Tuning of HAProxy for Database Load Balancing
This webinar discusses the performance tuning basics for HAProxy and explains how to take advantage of some of the new features in 1.5, which was released in June 2014 after 4 years of development work.
Introducing the Severalnines MySQL© Replication Blueprint
The Severalnines Blueprint for MySQL Replication includes all aspects of a MySQL Replication topology with the ins and outs of deployment, setting up replication, monitoring, upgrades, performing backups and managing high availability using proxies as ProxySQL, MaxScale and HAProxy. This webinar provides an in-depth walk-through of this blueprint and explains how to make best use of it.
Top Blogs
HAProxy Connections vs MySQL Connections – What You Should Know
Max connections determines the maximum number of connections to the database server. This can be set on both the database server, or the proxy in front of it. In this blog post, we’ll dive into HAProxy and MySQL maximum connections variables, and see how to get the best of both worlds.
SQL Load Balancing Benchmark – Comparing Performance of MaxScale vs HAProxy
In a previous post, we gave you a quick overview of the MaxScale load balancer and walked through installation and configuration. We did some quick benchmarks using sysbench, a system performance benchmark that supports testing CPU, memory, IO, mutex and also MySQL performance. We will be sharing the results in this blog post.
Load balanced MySQL Galera setup – Manual Deployment vs ClusterControl
Deploying a MySQL Galera Cluster with redundant load balancing takes a bit of time. This blog looks at how long it would take to do it manually vs using ClusterControl to perform the task.
Read-Write Splitting for Java Apps using Connector/J, MySQL Replication and HAProxy
In this blog post, we will play around with Java and MySQL Replication to perform read-write splitting for Java Apps using Connector/J.
High availability read-write splitting with php-mysqlnd, MySQL Replication and HAProxy
In this blog post, we explore the use of php-mysqlnd_ms with a PHP application (WordPress) on a standard MySQL Replication backend.
Become a ClusterControl DBA: Making your DB components HA via Load Balancers
There are various ways to retain high availability with databases. You can use Virtual IPs (VRRP) to manage host availability, you can use resource managers like Zookeeper and Etcd to (re)configure your applications or use load balancers/proxies to distribute the workload over all available hosts.
WordPress Application Clustering using Kubernetes with HAProxy and Keepalived
In this blog post, we’re going to play with Kubernetes application clustering and pods. We’ll use WordPress as the application, with a single MySQL server. We will also have HAProxy and Keepalived to provide simple packet forwarding (for external network) with high availability capability.
How Galera Cluster Enables High Availability for High Traffic Websites
This post gives an insight into how Galera can help to build HA websites.