Software Alternatives, Accelerators & Startups

CloudNativePG VS Patroni

Compare CloudNativePG VS Patroni and see what are their differences

CloudNativePG logo CloudNativePG

CloudNativePG is the Kubernetes operator that covers the full lifecycle of a highly available PostgreSQL database cluster with a primary/standby architecture, using native streaming replication.

Patroni logo Patroni

A Template for PostgreSQL HA with ZooKeeper, Etcd, or Consul
  • CloudNativePG Landing page
    Landing page //
    2022-07-06
  • Patroni Landing page
    Landing page //
    2022-11-01

CloudNativePG videos

No CloudNativePG videos yet. You could help us improve this page by suggesting one.

+ Add video

Patroni videos

Patroni 2020-04-09

More videos:

  • Review - Management of High-Availability PostgreSQL clusters with Patroni | A.Klyukin, A.Kukushkin
  • Review - PATRONI 😋 MARIHUANA REVIEW

Category Popularity

0-100% (relative to CloudNativePG and Patroni)
Dev Ops
100 100%
0% 0
Databases
0 0%
100% 100
Cloud Computing
100 100%
0% 0
NoSQL Databases
0 0%
100% 100

User comments

Share your experience with using CloudNativePG and Patroni. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, CloudNativePG should be more popular than Patroni. It has been mentiond 15 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

CloudNativePG mentions (15)

  • Tembo Operator: a Rust-Based Kubernetes Operator for Postgres
    For those of us that don't know what cnpg stands for, it's CloudNativePG https://cloudnative-pg.io/. - Source: Hacker News / 4 months ago
  • How to Scale a Single-Server Database: A Guide to Distributed PostgreSQL
    If you need to scale, why not just use cloudnative-pg in k8s? https://cloudnative-pg.io/ You get alot of this for free? - Source: Hacker News / 4 months ago
  • Production grade kubernetes database cluster
    Cloudnative-pg is pretty good https://cloudnative-pg.io. Source: 12 months ago
  • Kubernetes postgres backups
    I was using zalando, but their speed of keeping up compatibility with k8s version forced to od some research and I stomped upon https://cloudnative-pg.io/ and it checks all the boxes for my team - replicas management, continuous backup to S3, full and point in time recovery, etc. Source: about 1 year ago
  • Postgres High Availability
    Which tools are you looking at? I asked earlier whether anyone here was using cloudnative-pg, no answer yet, but curious if it's among the tools you've checked out? Source: about 1 year ago
View more

Patroni mentions (8)

  • Ask HN: Are there any open source forks of nomad smd consul?
    > 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/FAQ.md#why-does-apache-apisix-use-etcd-for-the-configuration-center, https://github.com/zalando/patroni#patroni-a-template-for-postgresql-ha-with-zookeeper-etcd-or-consul (this one shows up on HN quite a... - Source: Hacker News / 18 days ago
  • How to create postgres cluster in docker swarm?
    We have been using stolon + consul for years without issue in our swarm environments. It may also be possible with patroni. Source: 11 months ago
  • Why PostgreSQL High Availability Matters and How to Achieve It
    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 (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... - Source: Hacker News / 11 months ago
  • Docker: Patroni + HAProxy + Etcd + PgBouncer
    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. Source: about 1 year ago
  • Can someone share experience configuring Highly Available PgSQL?
    General purpose: Patroni - Set up your own etcd + HAProxy + Patroni + Postgres components and it'll generally manage itself after that. Source: about 1 year ago
View more

What are some alternatives?

When comparing CloudNativePG and Patroni, you can also consider the following products

StackGres - Fully-featured platform for running PostgreSQL on Kubernetes

Supabase - An open source Firebase alternative

Kubernetes - Kubernetes is an open source orchestration system for Docker containers

Amazon RDS - Easy to manage relational databases optimized for total cost of ownership.

Docker Compose - Define and run multi-container applications with Docker

MariaDB - An enhanced, drop-in replacement for MySQL