Building a High-Availability Load Balancer with HAProxy and Keepalived

Environment Overview 1.1 System Requirements This guide covers the deployment of a high-availability load balancing solution using HAProxy and Keepalived on CentOS 6.8 64-bit. The solution ensures that client requests are distributed across backend servers while providing automatic failover capability when the primary load balancer becomes u ...

Posted on Wed, 29 Jul 2026 17:09:52 +0000 by rotarypot

Implementing High-Availability MySQL Master-Master Replication with Keepalived

Introduction In traditional MySQL master-slave replication architectures, the slave database primarily serves as a backup of the master data. When the master database fails, the entire system becomes unavailable until manual failover procedure are completed. To address this limitation, we can implement a MySQL dual-master configuration where on ...

Posted on Mon, 27 Jul 2026 16:35:36 +0000 by alecodonnell

Understanding Redis Sentinel: Architecture, Communication, and Failover Process

Sentinel Overview Sentinel is a distributed system designed to monitor master-slave Redis deployments. When a master becomes unavailable, Sentinel automatically promotes a slave to master and redirects all other slaves to the new master. Core Capabilities Monitoring Continuously checks master and slave availability Detects master存活检测 and re ...

Posted on Mon, 20 Jul 2026 17:39:32 +0000 by gabo0303

Implementing High Availability with MariaDB Galera Multi-Master Cluster

Infrastructure Overview In this deployement, we utilize three Linux instances to form a resilient multi-master MariaDB cluster. This setup ensures data consistency and high availability across all nodes. Node Hostname IP Address Role galera-01 10.32.161.131 Cluster Node galera-02 10.32.161.132 Cluster Node galeera-03 10.32.161.133 Cl ...

Posted on Sun, 19 Jul 2026 17:06:36 +0000 by skyer2000

Redis High Availability, Persistence, and Performance Optimization Guide

Redis High Availability High availability in web servers refers to the time during which a service remains accessible, typically measured by uptime percentages (99.9%, 99.99%, 99.999%). In the Redis context, high availability encompasses more than just service availability—it also involves data capacity scaling, data durability, and rapid disas ...

Posted on Sat, 11 Jul 2026 16:13:37 +0000 by jrforrester

Resolving Cache Instability: Penetration, Stampede, and Avalanche Strategies

Core Differences Among Cache Instability IssuesIssue TypePrimary DefinitionTypical TriggerImmediate ConsequenceCache PenetrationQuerying for a non-existent identifier, bypassing both cache and databaseMalicious scrapers querying invalid IDs, application parameter errorsDatabase overwhelmed by fruitless queries, connection pool exhaustionCache S ...

Posted on Fri, 03 Jul 2026 18:00:47 +0000 by AlexRodr

Configuring MyCAT Cluster with Dual Masters and Dual Slaves

Prerequisites For MySQL master-slave setup, refer to: MySQL master-slave setup guide For MyCAT installation, refer to: Installing MyCAT 2 Network and Service Configuration IP/Port Service Role 8066 mycat Proxy 3307 master Primary 3308 slave Replica 3309 master01 Standby 3310 slave01 Replica Creating Database Users On master, ...

Posted on Fri, 03 Jul 2026 17:15:52 +0000 by gintjack

Kubernetes 1.18 Binary Installation with High Availability Setup

Deployment Overview This guide covers the complete binary-based deployment of Kubernetes version 1.18 with high availability configuration. The setup includes a three-node etcd cluster, multi-master architecture, and load balancing infrastructure. Software Requirements Component Version/Source Purpose CentOS 7.7+ Host operating system ...

Posted on Wed, 01 Jul 2026 16:01:38 +0000 by melittle

High-Availability MySQL Dual-Master Replication with Keepalived

This guide outlines the implementation of a highly available MySQL dual-master replication cluster protected by Keepalived for automatic VIP failover. The setup ensures continuous database service despite node failures. Prerequisites Two Linux servers: 192.168.199.49 (Node A) and 192.168.199.50 (Node B) Shared virtual IP (VIP): 192.168.199.52 ...

Posted on Sat, 20 Jun 2026 16:44:53 +0000 by thefollower

Redis Master-Slave Replication Implementation

Redis Replication Fundamentals Redis replication enables automatic data synchronization from a primary node (master) to replica nodes (slaves). The master handles write operations while replicas serve read requests. Replicatino Mechanism Replicas initiate synchronization by sending a SYNC command to the master The master starts a background sa ...

Posted on Tue, 09 Jun 2026 17:45:48 +0000 by mysqlnewjack