I'm new to node.js and have heard of connection pooling and it makes sense to me as the connection is an expensive operation.
I am looking at which node module to use for mysql and I like the look of Sequelize as it is an ORM.
I'm not sure if I need to worry about connection pooling with Sequelize. Do I just instantiate it and reuse it for all clients?
var sequelize = new Sequelize('database', 'username'[, 'password'])
Also, do I need to worry about the number of parallel queries being executed?
For example, if I am looping through a table and executing a query per row. What happens if there are 1000 or more rows?
Do those queries get executed all at once?
If so, is there a limit to the amount you can throw at it?