CodeGenieApp / CodeGenieApp/serverless-express
Cold Start Trick with new v4 module
- Langage dominant
- JavaScript
- Étoiles
- 5.3k
- Forks
- 676
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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

Need help with translating this to the new v4 way of bootstrapping the express server using nestjs as the `proxy` is deprecated.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par lire la manière dont v4 effectue le bootstrap du serveur Express et comparez-la avec l’exemple NestJS de l’article lié. Suivez l’emplacement de l’exécution du bootstrap par rapport au Lambda handler et la manière dont le proxy obsolète est remplacé. Le travail est considéré comme terminé lorsqu’une traduction v4 documentée ou fonctionnelle déplace le travail de bootstrap vers l’initialisation sans dépendre de proxy.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, express, javascript, nodejs
- Domaine
- api, backend, cloud
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100