Faster/Greener/Cheaper Serverless compute with AWS Lambda & Rust
summary
Shows how to build production AWS Lambda functions in Rust using cargo-lambda and the AWS Lambda runtime library, with local simulation on port 9000 and automatic cross‑compilation for Amazon Linux ARM or x86. Claims 20–40 ms cold starts for Rust versus ~500 ms–3 s for Node/Python and reports a real rewrite of an API authorizer that becomes about 3x cheaper. Covers SQS batch handling, Step Functions inputs, deployment via SAM, and links to benchmarks and example projects.
AI-written summary · about
chapters (13)
- 0:00Introduction and Rust overview
- 7:50Why Rust for AWS Lambda
- 12:43About the presenter and company
- 14:47Creating a Rust Lambda function
- 21:51Setting up with cargo Lambda
- 24:22Local testing and simulation
- 25:44Handling different event types
- 32:00Custom events and step functions
- 36:12JSON handling in Lambda
- 38:41HTTP Lambda functions
- 40:26Deploying to production
- 42:55Infrastructure as code with SAM
- 44:59Closing notes and benefits
related talks
49mYour Lambdas, In Rust!
29mAWS Lambda Officially Rust: From Scratch to Progressive Bindings
27mBuild on AWS with Rust
41mSpeed, Safety, Sustainability. Pick 3 with Rust & Serverless
35mEfficiency of Serverless Architectures with AWS Solutions
28mLegendary Lambdas
01h 00mServerless - reality or BS - notes from the trenches
47mReal Use Cases for Using AWS Lambda for Infrastructure Tasks
