Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the advantages of using Rust for serverless workloads in this conference talk from Conf42 Rustlang 2023. Dive into an overview of AWS Lambda, including packaging code, memory and CPU allocation, and pricing. Compare the performance of Rust against Node.js and Go in serverless environments. Learn how to bootstrap a new Rust project for Lambda functions using cargo lambda, and examine sample code including handler and main methods. Discover the use cases for Lambda extensions, both internal and external, and their performance implications. Gain insights into writing efficient and sustainable serverless applications with Rust, complete with practical examples and performance considerations.
Syllabus
intro
preamble
what will we cover
aws lambda overview
packaging code
lambda funtion memory and cpu allocation
the pricing view
motivating rust - performance
node js / go / rust
motivating rust - sustainability
writing lambda functions with rust
how to bootstrap a new project - cargo lambda
sample lamda function
handler method
main method
lambda extensions - use cases
external extensions
performance considerations
lambda extensions example
summary
thank you!
Taught by
Conf42