cd ..
Featuredinfrastructure

Postgres HA Cluster

Production-ready PostgreSQL High Availability cluster with Patroni, HAProxy, and etcd running in Docker containers.

June 2025 – Present
GitHub

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

Tech Stack

PostgreSQLPatroniHAProxyetcdDockerBash