A setup that runs PostgreSQL on multiple servers instead of a single server, with one primary and the others as replicas. Patroni is the manager of this cluster: it tracks which server is the primary, and if the primary goes down, it automatically promotes one of the replicas to take over. Your application keeps working without changing the database address. The replica servers can also serve read queries.
When to choose it?
If the database going down stops your workflow. A single-server PostgreSQL becomes unreachable during maintenance or a hardware failure, while in a cluster the takeover takes seconds, not minutes. If the cost of downtime is greater than the cost of the servers, this setup pays for itself. If a single server is enough, the PostgreSQL template in the catalog stays simpler and needs less maintenance.
Setup on tten: It is installed with one click from the Marketplace in Core Panel and delivered ready to run. A cluster setup needs at least three servers. You choose the version during setup.
Official source: Patroni
More Database
You are in full control
Build your infrastructure today
Get started in minutes and take your project live. No commitment.




