High Performance Serverless Functions in Scala
with AWS Lambda
Learn how to build serverless functions in Scala with low response times and overall high performance.
14. 1. Write your Lambda Functions in Vanilla Scala
2. Package to a big ol’ fat Jar
3. Compile to native Linux code with GraalVM
4. Setup a Serverless config w/ lots o mem
5. Deploy away!
Fast Scala Serverless Functions
35. AWS Lambda Custom Runtime
1. [Your Linux Executable Initialization Here]
2. Do an HTTP GET
"http://${AWS_LAMBDA_RUNTIME_API}/2018-06-01/runtime/invocation/next"
1. Parse the API Gateway or SQS or other request
2. Repeat