this post was submitted on 15 Feb 2024
24 points (96.2% liked)

JavaScript

1920 readers
11 users here now

founded 1 year ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 7 months ago (2 children)

"LLRT offers up to over 10x faster startup"
is this what low latency means?
im curious if there are other benefits.

[–] [email protected] 2 points 7 months ago

x2 lower costs are also pretty big if true!

[–] [email protected] 1 points 7 months ago

Yeah it's built on the quickJS runtime that has a low footprint and fast startup but no JIT, so in anything longer than the v8 startup, it ends up being about a magnitude slower

[–] [email protected] 1 points 7 months ago (1 children)

https://github.com/awslabs/llrt/raw/main/benchmarks/llrt-ddb-put.png
https://github.com/awslabs/llrt/raw/main/benchmarks/node20-ddb-put.png

Maybe I'm just stupid, but what are these numbers?

"HTTP benchmarks measured in round trip time for a cold start"

Soo, I'm guessing it's round trip time in milliseconds?

What is p0 to p100? Are they putting 0 to a 100 items? Are they putting 1 item into a dataset of size p..?

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

Percentiles of the measured startup times.

p100: 100% of the startups were slower, this is the maximum time they measured.

p50: 50% were slower than this

And so on to p0, which is the smallest measured time.