Patroni logo

Patroni

A Template for PostgreSQL HA with ZooKeeper, Etcd, or Consul

What is Patroni?

Patroni is a template for you to create your own customized, high-availability solution using Python and - for maximum accessibility - a distributed configuration store like ZooKeeper, etcd or Consul. Database engineers, DBAs, DevOps engineers, and SREs who are looking to quickly deploy HA PostgreSQL in the datacenter-or anywhere else-will hopefully find it useful.
Patroni is a tool in the Database Tools category of a tech stack.
Patroni is an open source tool with 3.1K GitHub stars and 363 GitHub forks. Here鈥檚 a link to Patroni's open source repository on GitHub

Who uses Patroni?

Companies
4 companies reportedly use Patroni in their tech stacks, including LaunchDarkly, RatePAY GmbH, and zops.

Developers
6 developers on StackShare have stated that they use Patroni.

Patroni Integrations

PostgreSQL, HAProxy, Consul, Zookeeper, and etcd are some of the popular tools that integrate with Patroni. Here's a list of all 6 tools that integrate with Patroni.

Why developers like Patroni?

Here鈥檚 a list of reasons why companies and developers use Patroni
Top Reasons
Be the first to leave a pro
Public Decisions about Patroni

Here are some stack decisions, common use cases and reviews by companies and developers who chose Patroni in their tech stack.

John Kodumal
John Kodumal
CTO at LaunchDarkly | 16 upvotes 554.3K views
atLaunchDarklyLaunchDarkly
Amazon RDS
Amazon RDS
PostgreSQL
PostgreSQL
TimescaleDB
TimescaleDB
Patroni
Patroni
Consul
Consul
Amazon ElastiCache
Amazon ElastiCache
Amazon EC2
Amazon EC2
Redis
Redis
Amazon Kinesis
Amazon Kinesis
Kafka
Kafka

As we've evolved or added additional infrastructure to our stack, we've biased towards managed services. Most new backing stores are Amazon RDS instances now. We do use self-managed PostgreSQL with TimescaleDB for time-series data鈥攖his is made HA with the use of Patroni and Consul.

We also use managed Amazon ElastiCache instances instead of spinning up Amazon EC2 instances to run Redis workloads, as well as shifting to Amazon Kinesis instead of Kafka.

See more

Patroni Alternatives & Comparisons

What are some alternatives to Patroni?
Slick
It is a modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred.
Sequel Pro
Sequel Pro is a fast, easy-to-use Mac database management application for working with MySQL databases.
PostGIS
PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.
Spring Data
It makes it easy to use data access technologies, relational and non-relational databases, map-reduce frameworks, and cloud-based data services. This is an umbrella project which contains many subprojects that are specific to a given database.
Microsoft SQL Server Management Studio
It is an integrated environment for managing any SQL infrastructure, from SQL Server to Azure SQL Database. It provides tools to configure, monitor, and administer instances of SQL Server and databases. Use it to deploy, monitor, and upgrade the data-tier components used by your applications, as well as build queries and scripts.
See all alternatives

Patroni's Followers
15 developers follow Patroni to keep up with related blogs and decisions.
Arman Jafari Tehrani
rugging24
Shiva M
Amor Kalo
praveen kumar
Denis Andreev
MohammadAsh15
Dor Ben Dov
Eugene Oskin
CodePantry Mall