I am always on the way of learning. I like writing articles because it helps me re-organise and consolidate my learnings.
To improve the initial response, why not put CloudFront in front of everything? If most of it is static, you can get the benefit of the SSR to deploy with Lambda and reduce initial timing. Thoughts?
Nice job on the article! One thing that we ended up doing to optimize our lambda performance as much as possible was to remove the dependency on express on your Lambda specific code. (We still used it on our server-local.ts for testing). By removing express you remove the express start up overhead and your deployable package ends up being smaller.
Sending an email in nodejs is a breeze thanks to NodeMailer. Let me walk you through the…