Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In addition, the NodeJS cold start time can be further optimized by bundling into a single file artifact to reduce the amount of disk IO needed when requiring dependencies. Webpack, Parcel, ESBuild, and other bundlers could achieve that, I'm sure.

EDIT: That may already be happening here in the build.sh file. I see it runs `sam build --use-container NodeJsFunction -b nodejs`.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: