DEV Community

Discussion on: Build a RESTful API with the Serverless Framework

Collapse
 
sagar profile image
Sagar

Hi Anirudh, if we create a connection pool for each lambda then we're not reusing pool code. For code reusability, I have defined dbConfig.js file.