A team raised max_connections from 100 to 5,000 and throughput fell. Connection pooling done right: PgBouncer modes, RDS Proxy, sizing math, and the serverless trap.