I have a stand-alone node.js application which performs a large number (10k+) of Mongo queries using Mongoose in an asynchronous way.
The queries are created is a very short time - does this mean that Mongoose does send all the eg. 10k queries to the database at the same time?
I read that Mongoose uses by default 5 connections - does this limit the number of parallel requests to 5 or can Mongoose query multiple async requests at the same time through each connection?
If multiple requests can be performed at the same time - how to I throttle my app so that it does not overloads the Mongo database?