PgDoorman
ozontech.github.io
- Free plan
- macOS
- Linux
- Self-hosted
What PgDoorman is
PgDoorman is a self-hosted, multithreaded PostgreSQL connection pooler written in Rust, described as a drop-in replacement for PgBouncer and Odyssey. It supports PostgreSQL 10 and newer and is listed for Linux and macOS. The project says it has been used in production at Ozon for three years with Go, .NET, Python, and Node.js workloads. PgDoorman caches anonymous Parse messages, allowing pooled clients to reuse prepared backend state without application changes. Its coordinator enforces a connection cap per database and can reclaim idle connections from pools with spare capacity. With Patroni assistance, new backend connections can go to another live cluster member if the local server disappears during a switchover. Monitoring includes a Prometheus endpoint and an optional local diagnostic console. Documented authentication includes MD5 or SCRAM passthrough, auth_query, PAM, JWT, Talos JWT, and pg_hba.conf rules. TLS can be configured for client and backend connections. The software is free and open source; it can be built from source, installed from distribution packages, or downloaded as a prebuilt binary.
Who it suits
PgDoorman suits teams running PostgreSQL 10 or newer that want self-hosted connection pooling, load balancing, and automatic failover. It is aimed at operators comfortable with its supported platforms and authentication options.
Good to know, and what to watch
- Pools PostgreSQL connections and balances load
- Can redistribute spare per-database connection capacity
- Supports Patroni-assisted fallback during switchovers
- Includes Prometheus metrics and a local diagnostic console
- Available as source, distribution packages, or a prebuilt binary
- LDAP authentication is unsupported
- Kerberos GSSAPI authentication is unsupported
- Certificate-based authentication and SCRAM channel binding are unsupported
- TLS session migration during binary upgrades requires a Linux build with tls-migration
Plans
Every plan and pricePgDoorman
Open source
The verdict
PgDoorman offers connection pooling, monitoring, and failover features for self-managed PostgreSQL deployments. Check its authentication limits and platform requirements against your environment before choosing it.
What the maker publishes
- Authentication
- Documented authentication methods include MD5 or SCRAM passthrough, auth_query, PAM, JWT, Talos JWT, and pg_hba.conf access rules. source
- Credential handling
- In passthrough mode, the client’s MD5 hash or SCRAM ClientKey is reused for PostgreSQL authentication, so plaintext passwords are not needed in the configuration. source
- Deployment
- PgDoorman can be built from source, installed from distribution packages, or downloaded as a prebuilt binary; Docker is intended for development, CI, and demos rather than production. source
- High availability
- Patroni-assisted fallback can direct new backend connections to another live cluster member when the local PostgreSQL server disappears during a switchover. source
- Monitoring
- PgDoorman includes a Prometheus metrics endpoint and an optional local web diagnostic console for pool, latency, error, query, log, CPU, and memory information. source
- Platforms
- The installation guide lists Linux and macOS as supported operating systems and recommends Linux for production. source
- Pool coordination
- Its pool coordinator enforces a per-database connection cap and can redistribute capacity by closing idle connections from pools with spare capacity. source
- Prepared statements
- PgDoorman caches anonymous Parse messages so clients in a pool can reuse prepared backend state without application changes. source
- Production use
- The project says it has been in production at Ozon for three years with Go, .NET, Python, and Node.js workloads. source
- Requirements
- The installation guide requires PostgreSQL 10 or newer and Rust 1.87 or newer when building from source. source
- Security limits
- LDAP, Kerberos GSSAPI, certificate-based authentication, and SCRAM channel binding are listed as unsupported. source
- TLS
- TLS can be configured for client and backend connections, while seamless migration of TLS sessions during binary upgrades requires a Linux build with the tls-migration feature. source
- What it does
- PgDoorman is a multithreaded PostgreSQL connection pooler written in Rust and described as a drop-in replacement for PgBouncer and Odyssey. source
Checked against the maker's pages on 8 Oct 2026.