CodeGenieApp / CodeGenieApp/serverless-express
Cold Start Trick with new v4 module
- Vorherrschende Sprache
- JavaScript
- Sterne
- 5.3k
- Forks
- 676
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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

Need help with translating this to the new v4 way of bootstrapping the express server using nestjs as the `proxy` is deprecated.
Beitragsleitfaden
Rechercherichtung
Start by reading the v4 way of bootstrapping the Express server and compare it with the NestJS example in the linked post. Trace where the bootstrap runs relative to the Lambda handler and how the deprecated proxy is replaced. Done means a documented or working v4 translation that moves bootstrap work to initialization without relying on proxy.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, express, javascript, nodejs
- Bereich
- api, backend, cloud
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100