Choosing between enlarging TypeORM connection pool and removing request-scoped QueryRunner for bursty traffic
Goal Identify the primary cause of intermittent connection pool exhaustion when a NestJS application using @nestjs/typeorm experiences bursty traffic. Constraints / Uncertainty The exhaustion could be caused by request‑scoped providers or per‑request QueryRunner instances that retain a checkout connection until the request finishes, making latency outliers i