Database engineering topic

High Availability

Replication, clustering, failover, and database resilience strategies

13 canonical articles

MySQL Group Replication (2026): Multi-Primary HA, Conflict Resolution & Production Setup

Production-ready MySQL Group Replication deployment guide. Learn cluster sizing, monitoring setup, performance tuning, and disaster recovery planning.

MySQL5 minMay 13, 2026
Read

MariaDB Galera Cluster Production Guide: Mariabackup, MaxScale & Schema Strategy

Production MariaDB Galera Cluster: mariabackup-based SST, MaxScale Galera-aware routing, schema-change strategy with TOI vs RSU, and a troubleshooting playbook for the failures that actually take down production.

MySQL17 minMay 3, 2026
Read

Patroni with Consul DCS: PostgreSQL HA Without etcd

Configure Patroni to use Consul instead of etcd as its DCS for PostgreSQL HA. Covers Consul setup, patroni.yml, service discovery, HAProxy routing, and failover testing.

PostgreSQL11 minMar 5, 2026
Read

From Standalone to High Availability: Convert Your PostgreSQL Database to a Patroni Cluster

Learn how to convert a standalone PostgreSQL instance to a Patroni high-availability cluster with etcd. Step-by-step guide covering installation, configuration, and failover testing.

PostgreSQL12 minMar 4, 2026
Read

MySQL Orchestrator: Automated Failover and Topology Management

Set up MySQL Orchestrator for automatic failover, topology discovery, and master election at scale

MySQL12 minJan 9, 2026
Read

Redis Sentinel vs Redis Cluster: Choosing the Right HA Architecture

Redis Sentinel and Redis Cluster both provide HA, but teams regularly choose the wrong one. Sentinel is simpler and covers 95% of use cases; Cluster is required for horizontal scale. Here's when to choose each.

Redis9 minNov 11, 2025
Read

PostgreSQL 17 Logical Replication: Failover Slots and Row Filtering

Logical replication in PostgreSQL has a critical gap: slots do not survive failover. PostgreSQL 17 finally fixes this with failover slots, plus adds row and column filtering for selective replication.

PostgreSQL8 minJun 10, 2025
Read

MySQL Group Replication vs Galera Cluster: A 2025 Comparison

MySQL Group Replication and Galera Cluster both promise multi-primary high availability, but they behave very differently under load, network partitions, and node failures.

MySQL9 minJun 3, 2025
Read

MySQL Group Replication: Single-Primary Cluster Setup

Configure MySQL Group Replication (MGR) with Paxos-based consensus for fault-tolerant clustering. Covers prerequisites, bootstrap, joining nodes, and health monitoring.

MySQL1 minMar 14, 2025
Read

PostgreSQL High Availability with Patroni and HAProxy

Design PostgreSQL HA with Patroni 4.1, a protected quorum DCS, HAProxy role checks, explicit durability choices, and rehearsed switchover and recovery.

PostgreSQL7 minJan 24, 2023
Read

Mastering MySQL Group Replication: The Road to Fault-Tolerant Databases

Build fault-tolerant MySQL clusters with Group Replication. Learn multi-primary vs single-primary modes, conflict resolution, network partitioning handling, and failover strategies.

MySQL4 minJul 12, 2022
Read

MySQL Galera Cluster: Setup, Tuning, and Common Pitfalls

Set up MySQL Galera Cluster for synchronous multi-master replication — configuration, split-brain avoidance, and monitoring

MySQL13 minApr 18, 2022
Read

MySQL InnoDB Cluster Explained: Complete Guide to High Availability

Deploy and operate MySQL InnoDB Cluster 8.4 safely with AdminAPI, Group Replication, Router, tested failover, and recoverable outage procedures.

MySQL6 minMar 22, 2022
Read