example-java-lambda-function
serverless-astra-graalvm
example-java-lambda-function | serverless-astra-graalvm | |
---|---|---|
1 | 2 | |
8 | 1 | |
- | - | |
5.6 | 6.0 | |
5 months ago | 10 months ago | |
Java | Java | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
example-java-lambda-function
-
Community-Managed Lambda Base Images for Java 19
A simple lambda function based off this Java19 community image has cold start times in the 750ms range, based on my testing. Certainly that's not nothing, but for a lot of use cases 750ms isn't prohibitive, either. Warm starts are in the 1-2ms range, which is pretty competitive with other languages.
serverless-astra-graalvm
-
How We Built a Serverless Backend Using GraalVM, AWS Lambda and Astra DB (Part 2)
We can now focus on the third goal: implementing the Lambda function and running it inside a GraalVM native image runtime. We’ll also hook it up to API Gateway, so that the end user can call it via an HTTP API. The complete source code is available on GitHub.
-
How We Built a Serverless Backend Using GraalVM, AWS Lambda and Astra DB (Part 1)
In the meantime, you can poke around the source code for this project in GitHub. If you have any questions or want to know more about this project, head over to the DataStax Community and we’ll meet you there. To reach one of us in particular you can find us on Twitter @FRosnerd and @raffael.
What are some alternatives?
maven-mvnd - Apache Maven Daemon
Graal - GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
certificate-ripper - 🔐 A CLI tool to extract server certificates
aws-lambda-java-libs - Official mirror for interface definitions and helper classes for Java code running on the AWS Lambda platform.
serverless-graalvm-demo - Sample serverless application written in Java compiled with GraalVM native-image
terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.