lifadev / archive_aws-lambda-go-shim

Author your AWS Lambda functions in Go, effectively.
https://github.com/eawsy/aws-lambda-go-shim
Apache License 2.0
789 stars 66 forks source link

Deployment size (shim) #17

Closed iNDicat0r closed 7 years ago

iNDicat0r commented 7 years ago

Hi

Can we do anything about the deployment size, at least decrease it? It seems too weird for me to see 8MB of code for a single hello world lambda function.

Regards

fsenart commented 7 years ago

Hi @iNDicat0r, Have you updated your Docker image in the past days? We've updated the packaging script and you should have a package size of roughly 1.6MB for a simple function and complex ones should not exceed 4 or 5MB.

fsenart commented 7 years ago

PS: there is also another improvement available (1.6MB -> 700KB) but it has to be supported by AWS. https://twitter.com/fsenart/status/856479105801494528

iNDicat0r commented 7 years ago

Ok you are right, i have to update the image:) lambda supports python3.6 and i am wondering if any time soon there will be an official golang support:/