I've got an express app talking to mongodb via the node-mongodb-native driver. Some requests in my app are intermittently slow. Any good tools or strategies to confirm or rule out the driver connection pool size as a bottleneck?
Here's some discussion of tuning pool size, but it's pretty inconclusive. aheckmann notes that the default of 5 is usually plenty, while tinana saw significant gains from bumping up the pool with many concurrent request.
Update: This question was to help me understand tuning and tooling driver pool size rather than to troubleshoot the immediate performance issue. I described my issue only to give the question a little context.
mongo.logout too.)