Connection reuse
Be sure to set the following environment variable when connecting to AWS services:
AWS_NODEJS_CONNECTION_REUSE_ENABLED=1 This allows you to reuse the first connection established across lambda invocations.
See Reusing Connections with Keep-Alive in Node.js
Last updated: