Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Why Use Rust for Serverless Workloads

Conf42 via YouTube

Overview

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

Reviews

Start your review of Why Use Rust for Serverless Workloads

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.