CodeGenieApp / CodeGenieApp/serverless-express

Cold Start Trick with new v4 module

Open
#429 9 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.3k
Forks
676
PR merge metrics
No merged PRs in 30d

Description

I saw this interesting [medium](https://towardsaws.com/serverless-love-story-nestjs-lambda-part-i-minimizing-cold-starts-4ba513e5ce02) post based on `aws-serverless-express` that helps with cold-start in nestjs by moving the bootstrap part to the init stage and not within the handler, like shown below
![image](https://user-images.githubusercontent.com/33663725/122616675-cffb8980-d058-11eb-9076-a5d1e3acc54c.png)

Need help with translating this to the new v4 way of bootstrapping the express server using nestjs as the `proxy` is deprecated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.