khalidx / fast_lambda

A super fast AWS Lambda Function, written with Nim and compiled to a native binary.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fast_lambda

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)

Usage

  1. Build

    nimble install -y
  2. Package

    nimble package
  3. 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.

Thanks

A big shoutout and thanks to the creators of the Nim programming language and the awslambda.nim repository!

About

A super fast AWS Lambda Function, written with Nim and compiled to a native binary.

License:MIT License


Languages

Language:Nim 65.7%Language:HCL 34.3%