PgDog vs. RDS Proxy
PgDog avoids RDS Proxy's connection pinning, which silently disables transaction pooling when apps use SET, temporary tables, advisory locks, or queries over 16 KB, and can exhaust Postgres connections.
PgDog avoids RDS Proxy's connection pinning, which silently disables transaction pooling when apps use SET, temporary tables, advisory locks, or queries over 16 KB, and can exhaust Postgres connections.
PgDog is a Rust Postgres proxy whose connection pooler avoids the leaky abstractions of PgBouncer and RDS Proxy.
PgDog forked pg_query.rs and replaced libpg_query's Protobuf serialization layer with direct bindgen-generated C-to-Rust conversions, making SQL parsing 5.45x faster and deparsing 9.64x faster, with a 25% gain in pgbench throughput.
Sharding Postgres early avoids the operational pain of large single instances, illustrated by an outage where stale planner statistics caused a 300 GB table to be sequentially scanned.
Documentation, not code comments, is what makes infrastructure software trustworthy enough to adopt, argues PgDog's founder after spending a week expanding its MkDocs docs to about 3k lines.
PgDog generates globally unique primary keys across Postgres shards without extensions or external ID services.