Stop Wasting Connections, Use HTTP Keep-Alive

Stop Wasting Connections, Use HTTP Keep-Alive

With the proliferation of third-party APIs and microservice architectures, modern web servers can make as many outgoing HTTP requests as the number of incoming HTTP requests they serve. Don’t Use Node’s Default HTTP Agents

For Node services, the agentkeepalive library provides HTTP and HTTPS agents that enable connection reuse by default. Wrap Up

Connection reuse should provide significant performance improvements to services written in any language that are making numerous outgoing HTTP requests.

Source: lob.com