Skip to content

GraalVM implementation of AWS Lambda and performance comparison with other languages

Notifications You must be signed in to change notification settings

Aleksandr-Filichkin/java-graalvm-aws-lambda

Repository files navigation

AWS Lambda with Custom Runtime and GraalVM

Here you can see 6 implementations of the microservice: img.png

  • Java V1 - is the first Java implementation without optimisations
  • Java V2 - is the optimised Java version
  • Java V3 - is a GraalVM Lambda implementation
  • Go-lambda - is a Go implementation
  • Node-lambda - is a NodeJs implementation
  • Python-lambda - is a Python implementation

Build and deploy

Requirements:

  • Docker
  • Maven
  • Java 11
  • NPM
  • Golang
  • SAM

to deploy the service just run:

sh build.sh

Performance result:

Cold start img_1.png

Warmed up (256Mb Lambda, ~3000 iterations for the 1 lambda) img.png

About

GraalVM implementation of AWS Lambda and performance comparison with other languages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published