Database Connection Pooling in NestJS: PgBouncer and Why You Need It

How connection pooling works, why your NestJS app will eventually exhaust PostgreSQL connections, and the PgBouncer config I run in production.