Understanding and Mitigating Redis Split-Brain Scenarios
The Nature of Split-Brain in Distributed Systems
Split-brain occurs when a network partition isolates nodes within a distributed cluster, causing them to form separate, disconnected sub-clusters. In a Redis environment, this often results in multiple nodes simultaneous believing they are the master. This scenario violates data consistency guara ...
Posted on Sun, 21 Jun 2026 17:29:49 +0000 by tskweb
Building Resilient Distributed Systems: Core Principles and Implementation Patterns
Distributed System Fundamentals
A distributed system consists of multiple independent computers communicating via a network to accomplish shared objectives. These systems lack a global clock and exhibit non-deterministic behavior among components located across different physical machines.
Key System Properties
Scalability enables horizontal ex ...
Posted on Wed, 17 Jun 2026 18:14:54 +0000 by N350CA
Configuring Keepalived for High Availability Load Balancing
Starting the Service and Enabling Auto-Start
On lb01:
[root@lb01 nginx]# systemctl start keepalived.service
[root@lb01 nginx]# systemctl enable keepalived.service
On lb02:
[root@lb02 ~]# systemctl start keepalived.service
[root@lb02 ~]# systemctl enable keepalived.service
Packet Capture Analysis with Wireshark
Once the service is running, cap ...
Posted on Sat, 13 Jun 2026 17:03:11 +0000 by mbuckley2000
Redis Master-Slave Replication Fundamentals
Redis master-slave replication enables data from one Redis server (the master) to be copied to one or more other Redis servers (slaves). Data flows unidirectionallly—from master to slave. By default, every Redis instance starts as a master. A master can have multiple slaves, but each slave can only replicate from a single master.
Key Benefits o ...
Posted on Sat, 06 Jun 2026 17:57:51 +0000 by beeman000
Implementing SaltStack Multi-Master High Availability
To configure a highly available SaltStack environment, you must set up a multi-master architecture where minions can communicate with multiple master servers. Additionally, configuration files, state files, and keys must be synchronized between the primary and secondary masters to ensure consistency during a failover.
1. Configuring Salt Minion ...
Posted on Wed, 03 Jun 2026 17:52:21 +0000 by dubt2nv
Creating a Proxmox VE Cluster Across Multiple Nodes
Initialize a Cluster on the First Host
Log into the initial Proxmox instance, referred to here as host-alpha. Use the cluster management tool to form a new group:
pvecm create alpha-group
This command generates the Corosync authentication material, writes it to /etc/corosync/authkey, and produces an updated /etc/pve/corosync.conf. The cluster ...
Posted on Sat, 30 May 2026 22:46:28 +0000 by kiss the robot
Implementing Redis Sentinel for High Availability with C#
Redis Sentinel is a system designed to help manage Redis instances, providing high availability through monitoring, notification, and automatic failover. It oversees master and replica instances, promoting a replica to master if the current master fails. This article explains the core concepts of Redis Sentinel and demonstrates how to integrate ...
Posted on Mon, 18 May 2026 10:05:25 +0000 by Cloud
Keepalived High Availability Configuration and Testing
Virtual IP Configuration
virtual_ipaddress {
10.0.0.3/24 dev eth0 label eth0:1
}
track_script {
health_check
}
Failover Testing
[root@lb01 ~]# systemctl is-active nginx
active
[root@lb01 ~]# ip a | grep 0.3
inet 10.0.0.3/24 scope global secondary eth0:1
[root@lb01 ~]# systemctl stop nginx
[root@lb01 ~]# ip a | grep 0.3
# VIP migrated after ...
Posted on Sat, 16 May 2026 22:21:57 +0000 by BrianG
Achieving High Availability for Ceph Cluster Management Nodes
Management High Availability OverviewTo ensure robust administration capabilities, a Ceph cluster requires multiple management nodes. Relying on a single management node creates a single point of failure; if that node goes down, cluster administration becomes impossible. Administrative access is generally divided into two categories: web dashbo ...
Posted on Sat, 16 May 2026 16:47:11 +0000 by Wildthrust
Redis Core Knowledge for Java Backend Interviews
What is Redis
Redis is a high‑performance, in‑memory key‑value database that also supports optional data persistence. It is open‑source and written in C, widely used both as a cache and as a primary datastore for specialised scenarios.
Why Redis Is So Fast
In‑memory storage – data is served directly from RAM, avoiding disk I/O for most operati ...
Posted on Sat, 16 May 2026 00:09:43 +0000 by dave420