Why PostgreSQL Connections Are Expensive

Each PostgreSQL client connection forks a dedicated backend operating system process consuming 5-10MB of RAM. When 500 serverless Lambdas launch concurrently, the database crashes with "FATAL: too many connections". PgBouncer transaction pooling solves this cleanly.