dmanjunath / node-redshift

A simple collection of tools to help you get started with Amazon Redshift from node.js
69 stars 48 forks source link

Use rawConnection or Pool in node-redshift for lambda? #33

Open Atik1608 opened 4 years ago

Atik1608 commented 4 years ago

I am stuck at a scenario in which whether to use rawConnection or deafult connection-pooling of node-redshift. The application is a Lambda function which is going to insert the data into redshift table and it's going to be at scale. I want to make sure that I use optimized way of connection and follow best practices! Any help would be appreciated.