pgdogdev

    pgdogdev/pgdog

    PostgreSQL connection pooler, load balancer and database sharder.

    networking
    database
    load-balancer
    pooler
    postgresql
    rust
    sharding
    Rust
    AGPL-3.0
    5.6K stars
    306 forks
    5.6K GitHub watchers
    Updated Oct 26, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 10 days ago, with 81 contributors on GitHub.

    Peaked at #30 in the weekly ranking the week of Mar 8, its best in the past year.

    Use Cases & Benefits

    • Provides a Rust-based proxy for PostgreSQL that offers connection pooling, load balancing, and database sharding to scale database deployments.
    • Delivers advanced query parsing and routing with native PostgreSQL protocol understanding, enabling efficient transaction pooling, load balancing, and cross-shard query handling.
    • Use for managing high-concurrency PostgreSQL workloads with efficient connection pooling and transaction state handling on commodity hardware.
    • Use for deploying scalable PostgreSQL clusters with automatic load balancing and failover across primary and replica nodes in cloud or Kubernetes environments.
    • Use for implementing sharded PostgreSQL databases with transparent query routing, cross-shard aggregation, two-phase commit support, and online resharding without downtime.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    AGPL 3.0

    Network copyleft: like the GPL, and also triggered by offering the software over a network.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    • AGPL-style copyleft also applies when the software is offered over a network.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    PgDog is a proxy for scaling PostgreSQL. It supports connection pooling, load balancing queries and sharding entire databases. Written in Rust, PgDog is fast, secure and can manage thousands of connections on commodity hardware.

    📘 PgDog documentation can be found here. Any questions? Chat with us on Discord.

    Excerpt from the pgdogdev/pgdog README on GitHub (AGPL-3.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    306+69

    Open issues

    272+107

    Compared with peers in Networking

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    pgdogdev/pgdog compared with Networking repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    superdesigndev/treg7.2K+65645—
    MHSanaei/3x-ui49.4K+52253134 days ago
    netbirdio/netbird30.7K+399657 days ago
    tailscale/tailscale38.7K+378653 days ago
    caddyserver/caddy78.8K+267601 day ago
    pgdogdev/pgdog5.6K—5910 days ago
    Category median38.7K+39960—

    Discover Repositories

    Search across tracked repositories by name or description