Django CONN_MAX_AGE vs PgBouncer for NetBox connection pooling under PostgreSQL max_connections constraint
Goal Prevent intermittent database connection pool exhaustion in a NetBox deployment serving variable API traffic, webhook bursts, and scheduled housekeeping jobs. Constraint PostgreSQL max_connections is fixed (e.g., 100–200). Each Gunicorn worker, RQ worker, and runhousekeeping invocation holds a dedicated connection when DATABASE_CONN_MAX_AGE > 0. Unde