0

How to implement connection pooling in nodejs, setting http.globalAgent.maxSockets to some larger value only increases concurrent connection, but after all the requests are responded, then the connection gets closed. But I want to retain the connection with nodejs Server to backend server, even after request is processed.

So how I can achieve connection pooling best way in nodeJS?

With regards,

-M-

u_peerless
  • 644
  • 2
  • 9
  • 23

0 Answers0