Database Connection Pooling: PgBouncer vs RDS Proxy on a Serverless Workload
Serverless functions open a new database connection on every invocation. PgBouncer in transaction mode solves this elegantly for Postgres. RDS Proxy adds IAM auth but introduces latency.
Serverless functions open a new database connection on every invocation. PgBouncer in transaction mode solves this elegantly for Postgres. RDS Proxy adds IAM auth but introduces latency.
Overview
This note is part of the field-notes archive generated for this site. The summary below is the published excerpt; you can expand the full write-up anytime in the CMS.
Related notes
Tags
- postgres
- connection-pooling
- pgbouncer
- serverless
- aws
Manish Bookreader
Electronics enthusiast, Embedded Systems Expert, Linux/Networking programmer, and Software Engineer passionate about AI, electronics, books, and cooking.