Lambda Runtime Graalvm is a Java Library that makes it easy to handle AWS Lambdas written in Java and compiled to native executable code using Graalvm.
Benefits of using Graalvm over Java:
- Much faster startup time (seconds to milliseconds)
- Much lower memory usage
This library is a fork of the original lambda-runtime-graalvm. The purpose of the original library was to allow GraalVM-compiled Lambda functions to run using the standard AWS OS-only runtime.
This fork was created to allow the library to be used with GraalVM-compiled Lambda functions that are hosted on a custom image. The benefits of doing this are:
- No need for reflection any more in the library
- Compiled Lambda function code can now be larger than the 50MB zipped / 250MB unzipped limit.
Tutorial for the original library: https://blog.formkiq.com/tutorials/aws-lambda-graalvm