Raising maxPoolSize vs tuning maxIdleTimeMS for intermittent MongoDB pool exhaustion
An application using the official MongoDB driver intermittently fails to acquire connections under bursty load, even though average concurrency stays well below the configured maxPoolSize . Pool monitoring shows the connection count shrinking during quiet periods and then failing to grow back fast enough when traffic spikes, so some requests appear to wait o