patroni

A template for PostgreSQL High Availability with Etcd, Consul, ZooKeeper, or Kubernetes (by patroni)

Patroni Alternatives

Similar projects and alternatives to patroni

  1. k3s

    314 patroni VS k3s

    Lightweight Kubernetes

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.

    Judoscale logo
  3. Milvus

    125 patroni VS Milvus

    Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search

  4. pgvector

    Open-source vector similarity search for Postgres

  5. nhost

    88 patroni VS nhost

    The Open Source Firebase Alternative with GraphQL.

  6. citus

    Distributed PostgreSQL as an extension

  7. apisix

    68 patroni VS apisix

    The Cloud-Native API Gateway and AI Gateway

  8. beekeeper-studio

    64 patroni VS beekeeper-studio

    Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more. Linux, MacOS, and Windows.

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. postgres-operator

    Postgres operator creates and manages PostgreSQL clusters running in Kubernetes

  11. postgres-operator

    Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service. (by CrunchyData)

  12. pg_auto_failover

    Postgres extension and service for automated failover and high-availability

  13. zombodb

    23 patroni VS zombodb

    Making Postgres and Elasticsearch work together like it's 2023

  14. stolon

    9 patroni VS stolon

    PostgreSQL cloud native High Availability and more.

  15. postgresql_cluster

    Discontinued Automated database platform for PostgreSQL® — the open-source alternative to cloud-managed databases. [Moved to: https://github.com/vitabaks/autobase]

  16. crunchy-proxy

    PostgreSQL Connection Proxy by Crunchy Data (beta)

  17. stolon-chart

    Kubernetes Helm chart to deploy HA Postgresql cluster based on Stolon

  18. squawk

    7 patroni VS squawk

    🐘 linter for PostgreSQL, focused on migrations

  19. Grafana

    439 patroni VS Grafana

    The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

  20. walrus

    5 patroni VS walrus

    Applying RLS to PostgreSQL WAL (by supabase)

  21. orchestrator

    Discontinued MySQL replication topology management and HA

  22. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better patroni alternative or higher similarity.

patroni discussion

Log in or Post with

patroni reviews and mentions

Posts with mentions or reviews of patroni. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-28.
  • High Availability PostgreSQL: Clustering with Patroni
    2 projects | dev.to | 28 Jan 2025
    Now according to Patroni Docs we will config Patroni using etc/patroni/config.yml/ file. mine looks like this:
  • Patroni: A Template for PostgreSQL Ha with ZooKeeper, Etcd or Consul
    1 project | news.ycombinator.com | 5 Jan 2025
  • Ask HN: Best Tools for High Availability PostgreSQL?
    1 project | news.ycombinator.com | 1 Nov 2024
    Do you need HA, or do you want to minimize downtime? At work we have something like an "error budget", were we accept downtime but try to minimize it. As such we have two nodes with one floating ip and a shared disk. The switch over takes as long as stopping the database on the first node, starting up the database on the second one and switching over the ip. Stuff like kernel updates takes us <1 minute of scheduled downtime, which is good enough for us.

    If you want more, I think Patroni (by Zalando) is the current best option for you. Patroni handles automatic leader election if the master goes down, and it is open source. Read here more:

    https://github.com/patroni/patroni

  • Spilo: High Availability PostgreSQL cluster using Docker
    3 projects | news.ycombinator.com | 10 Jun 2024
    I was never clear about the difference between Spilo and Patroni. I'm using this, is it Spilo or Patroni? https://github.com/zalando/patroni/blob/master/kubernetes/pa...
  • Ask HN: Are there any open source forks of nomad smd consul?
    9 projects | news.ycombinator.com | 2 May 2024
    > I think etcd is basically a k8s only project now

    I hate etcd with the best of them, but etcd is used in a lot more places than just kubernetes:

    https://github.com/apache/apisix/blob/master/docs/en/latest/...

    https://github.com/traefik/traefik#:~:text=Etcd,

    https://github.com/zalando/patroni#patroni-a-template-for-po...

    https://github.com/purpleidea/mgmt/tree/0.0.26/etcd (this one shows up on HN quite a bit)

    https://github.com/sorintlab/stolon#features

    It's actually one of the major reasons I wouldn't touch those projects

  • Citus is not ACID but Eventually Consistent
    1 project | dev.to | 15 Aug 2023
    Citus doesn't provide fault tolerance. Each shard is a monolithic PostgreSQL. To reduce downtime on failures, you can protect each shard with a standby database. As this is a complex configuration, Patroni can help. For this lab I'll use the Citus+Patroni docker-compose-citus.yml from https://github.com/zalando/patroni.git:
  • How to create postgres cluster in docker swarm?
    3 projects | /r/node | 18 Jun 2023
    We have been using stolon + consul for years without issue in our swarm environments. It may also be possible with patroni.
  • Why PostgreSQL High Availability Matters and How to Achieve It
    4 projects | news.ycombinator.com | 14 Jun 2023
    one of the solutions which made it pretty simple for us to run postgresql in a ha environment (mostly in k8s, but works standalone as well) is zalandos patroni: https://github.com/zalando/patroni it's really solid and worked for us for a few years already.

    or for k8s their operator: https://github.com/zalando/postgres-operator (docker image: https://github.com/zalando/spilo) we've also tried other operators which were easier to get started, but they failed miserably (crunchyrolls operator is basically based on the zalando one)

  • Docker: Patroni + HAProxy + Etcd + PgBouncer
    2 projects | /r/PostgreSQL | 28 Mar 2023
    Hello. I am currently using this docker-compose model from Zalando repository. It does not include PgBouncer in its architecture by default. I've been trying to find a containerized implementation involving Patroni, HAProxy, Etcd and PgBouncer. I didn't find anything solid so far.
  • Can someone share experience configuring Highly Available PgSQL?
    8 projects | /r/PostgreSQL | 26 Mar 2023
    General purpose: Patroni - Set up your own etcd + HAProxy + Patroni + Postgres components and it'll generally manage itself after that.
  • A note from our sponsor - InfluxDB
    influxdata.com | 25 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

Stats

Basic patroni repo stats
24
7,276
9.0
5 days ago

Sponsored
Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com