3 ms·
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 fo
by christkv 14y ago
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.