Improving Lambda cold starts with AJ Stuyvenberg
HTML-код
- Опубликовано: 11 июл 2024
- Ep #88 of the Real-World Serverless podcast
In this episode, I spoke with AJ Stuyvenberg, who is an AWS Serverless Hero and staff engineer at Datadog. We discussed the findings from the latest state of serverless report and spoke about Lambda cold starts at length. AJ has done some incredible research into Lambda cold starts and shared the 5 biggest mistakes people make regarding Lambda cold starts.
If you care about getting the best performance for your Lambda functions and minimizing cold starts, then this is the episode for you!
Links from the episode:
* State of Serverless report www.datadoghq.com/state-of-se...
* Corey Quinn's 17 ways to run containers on AWS www.lastweekinaws.com/blog/th...
* Corey Quinn's 17 more ways to run containers www.lastweekinaws.com/blog/17...
* AJ’s Linkedin profile / aaron-stuyvenberg
* AJ's re:invent session (COM305) hub.reinvent.awsevents.com/at...
* AJ's Twitch stream / aj_stuyvenberg
* AJ's post on Lambda proactive initialisation aaronstuyvenberg.com/posts/un...
* AJ's post on benchmarking the AWS SDK aaronstuyvenberg.com/posts/aw...
* Michael Hart’s post on Lambda using full CPU during init / shave-99-93-off-your-l...
You can find AJ on X as @astuyve
✅ Recommended playlists:
Real-World Serverless podcast on RUclips
• Is AWS Bedrock the Ope...
My BEST videos of 2023
• Is AWS Bedrock the Ope...
🔔 For more free videos on RUclips, subscribe to my channel:
youtube.com/@theburningmonk?s...
💌 If you're hungry for more insights, best practices, and tips on building serverless applications, make sure to subscribe to my weekly newsletter and elevate your serverless game!
theburningmonk.com/subscribe
📚 My courses 📚
theburningmonk.com/courses
👨🏫 My hands-on serverless workshop 👨🏫
productionreadyserverless.com
🌐 Find me here
Twitter: / theburningmonk
LinkedIn: / theburningmonk
Blog: theburningmonk.com
Chapters:
00:00:00 Intro
00:02:30 Introduction to AJ Stenberg and his work at Datadog
00:04:30 Discussion on the State of Serverless Report 2023
00:09:00 Analysis of the fact that serverless adoption has slowed down
00:12:00 Comparison of serverless adoption across AWS, Azure, and Google Cloud
00:15:00 Discussion on the reasons behind the slower adoption of serverless on Google Cloud
00:18:00 Introduction to the topic of improving Lambda cold starts
00:21:00 Explanation of the different factors that affect Lambda cold start times
00:24:00 Discussion on the benefits of using bun as a Lambda runtime
00:27:00 Presentation of the results of benchmarking cold start performance with bun
00:30:00 Analysis of the impact of package size on cold start times
00:33:00 Discussion on the importance of memory management for optimizing cold start times
00:36:00 Introduction to the concept of lazy loading and its benefits
00:39:00 Demonstration of how to implement lazy loading in a Lambda function
00:42:00 Discussion on the trade-offs of using lazy loading
00:45:00 Introduction to the topic of infrastructure as code (IaC) tools for serverless
00:48:00 Comparison of the popularity of different IaC tools for serverless
00:51:00 Discussion on the future of IaC tools for serverless
00:54:00 Conclusion and closing remarks Наука
I learned seriously valuable stuff, thankfully I'm still in dev. Things following "This is something I see a lot... " I am doing - except loading the whole aws-cdk :) Thanks to both of you.
Thank you, glad you found the conversation useful!
legends
thanks!
Awesome episode
Thank you :-)