What makes LLRT the FASTEST JavaScript runtime for Lambda?

  Рет қаралды 1,552

Yan Cui

Yan Cui

4 ай бұрын

Ep #97 of the Real-World Serverless podcast
In this episode, I spoke with Richard Davison, the creator of the new LLRT (Low Latency Runtime) for Lambda. We talked about the motivation for a specialised JavaScript runtime for Lambda, how it achieves the insane cold start time and the trade-offs they had to make.
Links from the episode:
* GitHub repo for LLRT github.com/awslabs/llrt
* API compatibility list github.com/awslabs/llrt/blob/...
* QuickJs bellard.org/quickjs/quickjs.html
* Follow Richard Davison's on linkedin / richard-davison-992462101
✅ 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

Пікірлер: 4
@AndreasSchlapbach
@AndreasSchlapbach 4 ай бұрын
Great interview! Are there ideas to link LLRT and V8 later in the sense that loads are transferred depending on their characterstics between engines?
@theburningmonk
@theburningmonk 4 ай бұрын
I don't see that'd make sense for a few reasons: 1. you'd probably lose any application state, because those need to run as separate processes. 2. to ship both would also significantly impact your bundle size and therefore cold start performance 3. if V8 only handles some executions then you'd lose the value of JIT - one of the arguments for not shipping a JIT compiler with LLRT is that Lambda execution environments are short-lived, having both would cut the usefulness of JIT even more 4. if you'd need to initialize two runtimes, then the cold start time would be the sum of the two
@mritunjayshanker8870
@mritunjayshanker8870 4 ай бұрын
Which metric show the lambda cold start time....or id there some other configurations
@theburningmonk
@theburningmonk 4 ай бұрын
The closest approximatation is the initDuration, which is reported in the Lambda REPORT logs, but is not a metric. You can analyze it with CloudWatch Logs Insights. There are also some other time associated with downloading the artefact, and allocating a space in the fleet. But those are outside of your control, so it's best to focus on the initDuration, which is how long does it take to initialize the execution environment on a worker instance.
LocalStack v3 is here and it's kinda amazing!
1:09:39
Yan Cui
Рет қаралды 2,6 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 150 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 81 МЛН
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 501 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
How does LLRT differ from Bun, Nodejs and Deno?
9:09
Yan Cui
Рет қаралды 530
API Gateway Vs Load balancer - Simplified Explanation
15:26
TechWithShas
Рет қаралды 1 М.
Node.js Tutorial - 4 - JavaScript Runtime
3:08
Codevolution
Рет қаралды 76 М.
104. Explaining Lambda Runtimes
25:01
AWS Bites
Рет қаралды 384
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 3,9 МЛН
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 22 МЛН
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 5 МЛН
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 472 М.