I'm only used to writing small scale web applications, and [at work] we're building something for our customers that we anticipate will be pretty data-intensive.
We've chosen MongoDB because the of the loose schema system we need but I'm a little confused about how MongoDB handles connections. The way I was always taught was open a connection, perform a CRUD operation, then close the connection. But the MongoDB docs say you should never need to use the close connection function in normal circumstances. So do I need to be creating all these Mongo client objects and stuff?
What are the best practices to use here? This is my first time using a database engine that isn't relational.