-
Notifications
You must be signed in to change notification settings - Fork 155
Feature request: minimize size of the production lambda-layer or published npm package #517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for creating this issue. Our team will definitely work on this as part as the production-ready milestone. |
i am sure it makes sense once their is stability in the apis, integration and unit testing :). I am sure the community would really appreciate this level of effort. :) Another useful thing to consider is building some benchmarking to track for regressions. |
100%. Related comment: #398 (comment) |
We have just release Lambda Layers and have implemented automation to measure the impact of each PR. I will be closing this issue for the time being as the size of the utilities is still within more than reasonable bounds. Will revisit the topic once we implement benchmarks. |
|
Description of the feature request
Try to keep the production deployed
node_modules
, without loss of functionalityRelated issue: #419 (comment)
Problem statement
Keeping the published npm package as lean as possible will benefit all users in terms of cold start.
Summary of the feature
@types/aws-lambda
andlodash.clonedeep
?)createChild
we can also usesetOptions(
from the original or v8 built in deserialize / serialize)types/aws-lambda
.Code examples
NA
Benefits for you and the wider AWS community
Faster execution, deployments (especially if there are published lambda layers).
Describe alternatives you've considered
Using modclean, minify-all and node-prune and documentation on recommendations to reduce cold starts
Additional context
Related issues, RFCs
The text was updated successfully, but these errors were encountered: