Skip to content

Project for evaluating lambda cold start reduction with use of optimized Lambda Layer

License

Notifications You must be signed in to change notification settings

Rozchmurzeni/lambdalayer-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambda layer Benchmark

Sample solution for evaluating lambda cold-start time reduction that comes from using lamda layers in .NET core 2.1.

Requirements

  • docker
  • dotnet sdk 3.1
  • aws cli

Content

  • Functions + Dependencies - sample lambda function and some external depenencies to make the deplyment package larger
  • Deploy - Dockerfile for publishing optimized Lambda Layer and PowerShell scripts that performs actual packaging and deployment

Usage

Adjust Deploy/publish-layer.ps1 script and provide s3 bucket name for the deployments.

Run the script to publish the Lambda Layer. Use an input argument to enable or disable the optimization. Note the layer's ARN.

Adjust Deploy/deploy.ps1 script and provide s3 bucket name for the deployments.

Adjust Functions/application.yaml and provide ARN of the layer.

Run the script to build and publish the Lambda Function.

Use our cold-start measure app to measure the cold-starts.

About

Project for evaluating lambda cold start reduction with use of optimized Lambda Layer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published