All Projects → mduesterhoeft → kotlin-graalvm-custom-aws-lambda-runtime-talk

mduesterhoeft / kotlin-graalvm-custom-aws-lambda-runtime-talk

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

Programming Languages

kotlin
9241 projects
shell
77523 projects
CSS
56736 projects

Projects that are alternatives of or similar to kotlin-graalvm-custom-aws-lambda-runtime-talk

graalvm
A Cloud Native Buildpack that provides the GraalVM implementations of JREs and JDKs
Stars: ✭ 21 (-12.5%)
Mutual labels:  jvm, graalvm
kotlin-graalvm-custom-runtime-demo
Demo for a AWS Lambda functions written in Kotlin using GraalVM and custom runtimes
Stars: ✭ 23 (-4.17%)
Mutual labels:  aws-lambda, graalvm
lifebot
Use Google Sheets to log your life by texting it Emojis and pulling in data from Fitbit automatically.
Stars: ✭ 15 (-37.5%)
Mutual labels:  aws-lambda
serverless-data-pipeline-sam
Serverless Data Pipeline powered by Kinesis Firehose, API Gateway, Lambda, S3, and Athena
Stars: ✭ 78 (+225%)
Mutual labels:  aws-lambda
terraform-aws-ec2-ami-backup
Terraform module for automatic & scheduled AMI creation
Stars: ✭ 19 (-20.83%)
Mutual labels:  aws-lambda
lambda-facebook-oauth
An AWS Lambda function to facilitate Oauth2 social login with Facebook
Stars: ✭ 16 (-33.33%)
Mutual labels:  aws-lambda
amazon-eventbridge-cdk-audit-service-sample
Sample of a decoupled audit service using Amazon EventBridge and AWS Step Functions. Provisioned with AWS CDK.
Stars: ✭ 25 (+4.17%)
Mutual labels:  aws-lambda
lucene-grep
Grep-like utility based on Lucene Monitor compiled with GraalVM native-image
Stars: ✭ 160 (+566.67%)
Mutual labels:  graalvm
play-scala-secure-session-example
An example Play application showing encrypted session management
Stars: ✭ 54 (+125%)
Mutual labels:  jvm
webpack-aws-lambda
AWS Lambda that runs webpack and output the bundle.js file
Stars: ✭ 12 (-50%)
Mutual labels:  aws-lambda
the-x-in-mdx
No description or website provided.
Stars: ✭ 40 (+66.67%)
Mutual labels:  talk
play-scala-anorm-example
Example Play Database Application using Anorm
Stars: ✭ 41 (+70.83%)
Mutual labels:  jvm
aws-lambda-static-ip
AWS Lambda static outgoing IP address
Stars: ✭ 46 (+91.67%)
Mutual labels:  aws-lambda
http4s-graal
An experiment running http4s as native image with Graal (+ Substrate)
Stars: ✭ 27 (+12.5%)
Mutual labels:  graalvm
aws-lambda-youtube-dl
Download YouTube (and a few other sites) videos to S3 using Lambda.
Stars: ✭ 78 (+225%)
Mutual labels:  aws-lambda
aws-lambda-nodejs-webpack
λ CDK Construct to build Node.js AWS lambdas using webpack
Stars: ✭ 32 (+33.33%)
Mutual labels:  aws-lambda
aws-lambda-ebs-backups
Python scripts to be run using AWS's Lambda service to Backup and Delete Snapshots of EBS Volumes
Stars: ✭ 31 (+29.17%)
Mutual labels:  aws-lambda
jaz
A JVM implementation in Zig!
Stars: ✭ 44 (+83.33%)
Mutual labels:  jvm
JNotes
Java 工程师必备的技术知识点,全力打造Java 程序员的技能体系知识库;主要体现在 Java 基础、算法、网络、后端框架、数据库、操作系统等方面知识整理。对于Java 初学者升中高级、以及Java后端开发人员的的面试者都有非常显著的帮助。个人博客:www.husycode.cn
Stars: ✭ 33 (+37.5%)
Mutual labels:  jvm
jvm
simple java virtual machine
Stars: ✭ 53 (+120.83%)
Mutual labels:  jvm

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 using GraalVM and Custom 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

The master branch contains a runnable sample of an application that exposes the same handler and exposes it via the standard java11 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 application
serverless deploy

Invoke the function running the java11 runtime

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

Invoke the function running the custom 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 the dynamodb branch.

The dynamodb-agent branch builds on the DynamoDB example and shows how to use the GraalVM native image trace agent (aka assisted configuration).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].