1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Hi there!
Will the lambda reuse the deployment package?
Lambda will not reuse the same deployment package. When the Lambda function is deployed, it creates a copy of the code referenced in the S3 bucket for each function.
What's more effective from the code storage perspective: use one zip (say 10MB) for several functions or split into smaller zips (10 packages 5 MB each)?
It is always recommended to have a smaller deployment package for each Lambda function. While there is no direct advantage with respect to code storage, this provides multiple advantages such as reduced cold start times and the ability to edit code inline. More details can be found here:
https://docs.aws.amazon.com/lambda/latest/dg/best-practices.html
con risposta 5 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata un anno fa