Re:MongoDB singleton connection in Node.Js
by christkv on Friday April 05, 2013 @09:29AM
(#5498246)
Creating a new connection is slow compared to using an existing connection and also puts non-needed stress on the server as it needs to allocate a new thread for the socket. You'll also pretty quickly run out of file descriptors on your app server if you get hit by a little bit of load.
[ Parent
| on HN ]
There are no comments on this comment yet.