Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This is the demo code for a talk on improving cold startup times for JVM-based lambdas using GraalVM and Custom AWS Lambda Runtimes.

NotificationsYou must be signed in to change notification settings

knowledgejunction/kotlin-graalvm-custom-aws-lambda

 
 

Repository files navigation

GitPitch

Fighting cold startup issues for your Kotlin Lambda with GraalVM

This is the demo code for a talk on improving cold startup times for JVM-based lambdas usingGraalVM andCustom AWS Lambda Runtimes.

Slides

The presentation slides can be found here -https://gitpitch.com/mduesterhoeft/kotlin-graalvm-custom-aws-lambda-runtime-talk#/

Running the sample

Themaster branch contains a runnable sample of an application that exposes the samehandler and exposes it via the standardjava11 runtime and a custom runtime.

To build and deploy the function run the following:

# build the GraalVM native image and package the runime./package.sh # deploy the applicationserverless deploy

Invoke the function running thejava11 runtime

http https://<function-host>/dev/hello/sample

Invoke the function running thecustom runtime

http https://<function-host>/dev/hello-runtime/sample

Extended examples

DynamoDB

An extended example that adds DynamoDB to the sample can be found in thedynamodb branch.

Thedynamodb-agent branch builds on the DynamoDB example and shows how to use the GraalVM native image trace agent (akaassisted configuration).

About

This is the demo code for a talk on improving cold startup times for JVM-based lambdas using GraalVM and Custom AWS Lambda Runtimes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin89.5%
  • Shell9.7%
  • CSS0.8%

[8]ページ先頭

©2009-2025 Movatter.jp