Our great sponsors
-
serverless-astra-graalvm
Sample serverless order processing API using DataStax Astra Serverless and AWS Lambda.
-
Graal
GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
aws-lambda-java-libs
Official mirror for interface definitions and helper classes for Java code running on the AWS Lambda platform.
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.
In this first post, we will walk through the first two challenges and the technologies that helped us on the way, mainly Stargate and Testcontainers. In the second post, we are going to dive into how we put our serverless API in the cloud using AWS API Gateway, AWS Lambda and GraalVM. First, let’s take a look at the high level architecture.
AWS Lambda offers managed functions as a service (FaaS) based on micro virtual machines. To create a Lambda function you provide the code to execute, e.g. a Python script or a Jar file. The function can be invoked on demand based on a variety of triggers.