Answer the question
In order to leave comments, you need to log in
How many Mongo connections can be kept in MEAN?
There is an application that launches Node+Express when launched, and in several modules there are connections to the same Mongo database, but to different collections. And these connections are not closed throughout the entire operation of the application. Is this normal, and how many such connections can be kept open?
Answer the question
In order to leave comments, you need to log in
By default 819, can be increased. It depends not on the node, but on the server and mongo settings, you don’t need to close the connection, they are reused
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question