高洛峰2017-04-17 16:23:02
I agree with the method on the first floor, just connect it once in the mongoose model
阿神2017-04-17 16:23:02
A very simple system. I don’t want to load too many other third-party libraries. I have found the answer. Just connect to the database at the beginning and then listen.
黄舟2017-04-17 16:23:02
Excuse me, when there are multiple page requests at the same time, how many times does your program connect to the database? Once? Isn’t that blocked?