Node.js · Performance · Mid-Level · Architecture
Connection pooling best practices for Node DB clients?
Short Interview Answer
Size pools to DB limits × instances, set timeouts, and monitor wait queue latency.
Detailed Explanation
Too large pools stampede the DB. Too small increases queue time. Align with horizontal pod counts.