📄️ Intro
In this section you will find some common tips and tricks to ensure you don't hit any performance or security issues.
📄️ Connection reuse
Be sure to set the following environment variable when connecting to AWS services:
📄️ Internal Context
Middy is built to be async even at it's core. Middlewares can set promises to internal.
📄️ Bundling Lambda packages
This page is a work in progress. If you want to help us to make this page better, please consider contributing on GitHub.
📄️ Small node_modules
Using a bundler is the optimal solution, but can be complex depending on your setup.
📄️ Profiling
Inside of @middy/core we've added some hook before and after every middleware called, the handler and from start to end of it's execution.