Why is AWS building a JavaScript runtime?

  Рет қаралды 212

Yan Cui

Yan Cui

5 ай бұрын

General-purpose runtimes such as Node.js and Bun are not optimal for a constrained execution environment such as Lambda, because they're not designed for these environments.
The trade-offs and design decisions they make do not align with the constraints and needs of a Lambda customer.
That's why, instead of trying to make the general-purpose runtime fit into Lambda, it's worth asking "what would a purpose-built JavaScript runtime look like for Lambda?" and go from there.
✅ Recommended playlists:
Real-World Serverless podcast on KZfaq
• Is AWS Bedrock the Ope...
My BEST videos of 2023
• Is AWS Bedrock the Ope...
🔔 For more free videos on KZfaq, 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

Пікірлер: 2
@gariklaw
@gariklaw 4 ай бұрын
@theburningmonk Can you please give some concrete examples where cold starts are more spikey and stair-stepped? Just curious for specific use cases here. Thanks!
@theburningmonk
@theburningmonk 4 ай бұрын
It's not that cold starts are more spikey, but when you have sudden spikes in traffic, cold starts is more likely to be a concern. With the introduction of proactive initialization (see aaronstuyvenberg.com/posts/understanding-proactive-initialization) most cold starts will really impact users - e.g. when you do a deployment in the middle of the day, or when existing workers are replaced. But if you have a sudden spike in traffic, then you need more workers to handle the load, so Lambda would need to create new execution environments on-demand, and you'll see lots of cold starts in that moment. An example would be a social network, when a popular user posts something, suddenly everyone logs in and start interacting with the app. You can't plan for these kinds of spikes.
What makes LLRT the FASTEST JavaScript runtime for Lambda?
52:34
Это реально работает?!
00:33
БРУНО
Рет қаралды 4 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 93 МЛН
LocalStack v3 is here and it's kinda amazing!
1:09:39
Yan Cui
Рет қаралды 2,7 М.
How Fathom saved $100,000 per year on their AWS bill!
59:11
How does LLRT differ from Bun, Nodejs and Deno?
9:09
Yan Cui
Рет қаралды 552
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 709 М.
Bluetooth connected successfully 💯💯
0:16
Blue ice Comedy
Рет қаралды 2,2 МЛН
Ускоряем ваш TV🚀
0:44
ARTEM_CHIBA
Рет қаралды 484 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 7 МЛН
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 2,4 МЛН