pgdogdev/pgdog
PostgreSQL connection pooler, load balancer and database sharder. observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 99
- Release rhythm 98
- Longevity 43
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 6.0
- age_days: 614
- days_rel: 13
- days_push: 7
- n_releases_24m: 53
Adoption not part of the score
5446 stars · 267 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PgDog is a PostgreSQL proxy written in Rust that combines connection pooling, query load balancing, and database sharding in a single binary. It sits transparently between applications and PostgreSQL, speaking the native wire protocol and SQL parser so no application changes are required.
Use cases
- pool postgres connections for thousands of app clients
- split read queries to replicas and writes to primary
- shard a postgresql database across multiple servers
- replace pgbouncer while keeping SET and LISTEN/NOTIFY working
- load balance reads across postgres replicas with health checks
- deploy a single database endpoint for kubernetes workloads
- detect primary failover and reroute write traffic
When to choose
- you need transaction-mode pooling that preserves session state like SET, advisory locks, and LISTEN/NOTIFY
- you want read/write splitting and replica load balancing behind one endpoint
- you need to scale Postgres horizontally with sharding without changing application code
- you want a fast, multithreaded pooler deployable via Docker, Helm, or Terraform
When to avoid
- you run a small database with few connections where a proxy adds unnecessary complexity
- you rely on sharding features still marked experimental in the docs
- you need a pooler for databases other than PostgreSQL
- your license requirements are incompatible with AGPL-3.0
Facets
service · maturity active
database proxy load-testing routing networking databases microservices backend self-hosted rust self-hosted cloud postgresql connection-pooler sharding load-balancer pgbouncer-alternative read-write-splitting database-proxy devops linux macos docker kubernetes
7 sources
- readme: https://github.com/pgdogdev/pgdog · fetched 2026-08-28 · 8af87322954b
- homepage: https://pgdog.dev · fetched 2026-08-29 · b203ba712a6e
- site_page: https://docs.pgdog.dev/features/load-balancer · fetched 2026-08-29 · 6a8aeecaa8fc
- site_page: https://docs.pgdog.dev · fetched 2026-08-29 · 746601c6ab15
- site_page: https://docs.pgdog.dev/installation · fetched 2026-08-29 · c5e9e08f3a33
- site_page: https://docs.pgdog.dev/features/connection-pooler · fetched 2026-08-29 · eafee0382f5d
- site_page: https://docs.pgdog.dev/features/sharding · fetched 2026-08-29 · 5ee6f04978a2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pgdogdev/pgdog | main | 87 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem