qmetrics.net

Patroni

PostgreSQL high availability cluster template

Patroni is a Python-based template for building PostgreSQL high-availability clusters. It coordinates failover using a distributed configuration store and streaming replication.

Overview

Patroni helps operators run PostgreSQL in a highly available configuration by managing leader election, failover, and cluster state. It began as an extension of earlier HA patterns and supports modern deployment styles.

The software plugs into distributed configuration stores such as ZooKeeper, etcd, Consul, Kubernetes, Exhibitor, a Python Raft implementation, or AWS-backed callbacks. You configure clusters with YAML or environment variables and can integrate Citus for distributed Postgres workloads.

Replication uses PostgreSQL streaming replication, with options for asynchronous lag limits or synchronous replication. A REST API exposes health and control endpoints, and optional HAProxy configuration offers a single application connection point.

Installation is typically via pip with optional dependency bundles for each backing store and database driver. You start member processes against configuration files alongside your chosen coordination service to form a multi-node cluster.

Key features

  • PostgreSQL HA cluster management
  • etcd, Consul, ZooKeeper, or Kubernetes DCS
  • Streaming replication with sync or async modes
  • REST API for health and control
  • Optional HAProxy endpoint configuration
  • YAML and environment-based configuration
  • Citus extension integration
  • Python Raft DCS option

Use cases

  • Automated PostgreSQL failover
  • Multi-node database clusters
  • Kubernetes-native Postgres HA
  • Application pooling through HAProxy
  • Citus-aware HA deployments

Tags

Similar software

Kubernetes

Open-source container scheduling and management system

Kubernetes (K8s) manages containerized applications across many hosts. It automates deployment, scaling, and ongoing operations for grouped containers.

★ 129.4k⟳ yesterdayApache-2.0

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Ansible

Agentless IT automation and configuration engine

Ansible automates configuration management, deployments, cloud provisioning, ad-hoc tasks, and multi-node orchestration using SSH without installing agents on managed hosts.

★ 71.7k⟳ 4 days agoGPL-3.0

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

Traefik Labs

Dynamic HTTP reverse proxy and load balancer for microservices

Traefik routes HTTP traffic to microservices and balances load across backends. It watches orchestrators and registries to update routes without manual restarts.

★ 65.8k⟳ 3 days agoMIT

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable