HAProxy
-
Close Site Search Indexing via Kubernetes HAProxy Ingress
In Kubernetes, Ingress resources are frequently used as traffic controllers, providing external access to services within the cluster. Ingress is essential for routing incoming traffic to your service; however, there may be scenarios in which you want to prevent search engines from indexing your service’s content: it might be a development environment or something else. This blog post will walk you through the process of blocking your site’s indexing on Kubernetes Ingress using robots.txt file, preventing search engine bots from…
-
Optimizing Server Management With HAProxy’s Advanced Health Checks
HAProxy is one of the cornerstones in complex distributed systems, essential for achieving efficient load balancing and high availability. This open-source software, lauded for its reliability and high performance, is a vital tool in the arsenal of network administrators, adept at managing web traffic across diverse server environments. At its core, HAProxy excels in evenly distributing the workload among servers, thereby preventing any single server from becoming a bottleneck. This functionality enhances web applications’ overall performance and responsiveness and ensures…
-
Load Balancer High Availability With CockroachDB and HAProxy
For reference: Checkout my previous article where I discuss connection pool high availability, “Connection Pool High Availability With CockroachDB and PgCat.” Motivation The load balancer is a core piece of architecture for CockroachDB. Given its importance, I’d like to discuss the methods to overcome the SPOF scenarios. High-Level Steps Start CockroachDB and HAProxy in Docker Run a workload Demonstrate fault tolerance Conclusion Step-By-Step Instructions Start CockroachDB and HAProxy in Docker I have a Docker Compose environment with all of the…
-
An Introduction to HAProxy and Load Balancing Concepts
Introduction HAProxy, which stands for High Availability Proxy, is a popular open source software TCP/HTTP Load Balancer and proxying solution which can be run on Linux, macOS, and FreeBSD. Its most common use is to improve the performance and reliability of a server environment by distributing the workload across multiple servers (e.g. web, application, database). It is used in many high-profile environments, including: GitHub, Imgur, Instagram, and Twitter. In this guide, you’ll get a general overview of what HAProxy is,…
-
HAproxy SSL/TLS Warning: Setting tune.ssl.default-dh-param to 1024 by default
Introduction In this tutorial you will learn how to troubleshoot and fix an HAProxy Setting tune.ssl.default-dh-param to 1024 by default warning message using the methods described in the How to Troubleshoot Common HAProxy Errors tutorial at the beginning of this series. One you confirm that your server is generating the warning message, you will learn how to fix it by setting HAProxy’s ssl-dh-param-file configuration option to use a custom dhparams.pem file. You may encounter an HAProxy Setting tune.ssl.default-dh-param to 1024…
-
High Availability PostgreSQL with Patroni and HAProxy
Facing the challenge of maintaining a resilient PostgreSQL database in the ever-changing landscape of digital demands? If the term “Patroni” resonates with your tech aspirations, you’re on the verge of unlocking a solution that elevates PostgreSQL into a fortress of high availability. Certainly, a challenge awaits, but fear not – you’re embarking on a transformative journey to constructing an unwavering PostgreSQL cluster. Envision a future where database disruptions are mere blips, and your PostgreSQL setup stands as the epitome of…