Projects

Postgres HA Cluster

Production-ready PostgreSQL High Availability cluster with Patroni, HAProxy, and etcd running in Docker containers.
Jun 2025 – PresentSource
Postgres HA Cluster demo

Overview

A complete PostgreSQL HA setup using Patroni for cluster management, etcd for distributed consensus, and HAProxy for load balancing. Features automatic failover, read/write split routing, and comprehensive health monitoring.

Highlights

  • Built 3-node PostgreSQL cluster with automatic failover
  • Configured HAProxy for read/write splitting and load balancing
  • Implemented health check scripts and cluster management tools

Stack

PostgreSQLPatroniHAProxyetcdDockerBash