# Understanding the differences between PgBouncer and Amazon RDS Proxy for PostgreSQL connection pooling

DevFeed: [Understanding the differences between PgBouncer and Amazon RDS Proxy for PostgreSQL connection pooling](<https://devfeed.tech/articles/understanding-the-differences-between-pgbouncer-and-amazon-rds-proxy-for-postgresql-connection-pooling-85608.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/database/understanding-the-differences-between-pgbouncer-and-amazon-rds-proxy-for-postgresql-connection-pooling/>)

Author: Stephen Wood

Published: 2026-10-12T16:14:18Z

Content type: comparison

Language: en

Sources: [AWS Database Blog](<https://devfeed.tech/sources/aws-database-blog.md>)

Topics: [Amazon RDS](<https://devfeed.tech/topics/amazon-rds.md>), [self-hosted databases vs managed services](<https://devfeed.tech/topics/self-hosted-databases-vs-managed-services.md>), [sessions](<https://devfeed.tech/topics/sessions.md>)

Tags: [access-management](<https://devfeed.tech/tags/access-management.md>), [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-aurora](<https://devfeed.tech/tags/amazon-aurora.md>), [amazon-rds](<https://devfeed.tech/tags/amazon-rds.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [aws](<https://devfeed.tech/tags/aws.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [compare](<https://devfeed.tech/tags/compare.md>), [connection-pooling](<https://devfeed.tech/tags/connection-pooling.md>), [failover](<https://devfeed.tech/tags/failover.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [proxy](<https://devfeed.tech/tags/proxy.md>)

## AI overview

This comparison explains how PgBouncer and Amazon RDS Proxy pool PostgreSQL connections and differ in operational ownership, authentication, failover, latency, and session-state handling. It describes how RDS Proxy preserves correctness by pinning sessions when state cannot safely be reused, while PgBouncer transaction pooling expects applications to manage session state. The article provides guidance for choosing between a managed AWS service and a self-managed pooler.

## Source excerpt

Compare Amazon RDS Proxy and PgBouncer for PostgreSQL connection pooling on AWS. This post explains how each pooler handles pooling modes, authentication, failover, and session-state pinning, and gives you a framework to choose between a fully managed service and a self-managed pooler.