A super fast AWS Lambda Function, written with Nim and compiled to a native binary.
- Single-digit cold-start times, usually < 1ms outside of a VPC
- When inside a VPC, usually starts in under 30ms (with the new AWS VPC networking improvements)
-
Build
nimble install -y
-
Package
nimble package
-
Deploy
You have two options, automatic or manual.
automatic
Deploy with terraform by running the following commands.
terraform init terraform apply
manual
Create an AWS Lambda Function with the "custom runtime" option and upload the
lambda.zip
file.
A big shoutout and thanks to the creators of the Nim programming language and the awslambda.nim repository!