Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AWS-managed alternative JavaScript runtime(s) #107

Open
o-alexandrov opened this issue Jul 11, 2023 · 2 comments
Open

Add AWS-managed alternative JavaScript runtime(s) #107

o-alexandrov opened this issue Jul 11, 2023 · 2 comments

Comments

@o-alexandrov
Copy link

o-alexandrov commented Jul 11, 2023

Problem

Running an alternative JavaScript runtime is practically impossible due to an extreme difference in the cold starts.
Why:

  • the latest versions of alternative JavaScript runtimes on Linux weigh 32MB for Bun 0.6.13, 38MB for Deno 1.35.0
  • the size of the alternative runtimes, distributed as a Lambda Layer will be the cause of a higher cold start and it's unlikely Bun & Deno would decrease the size dramatically in the next couple of years

Request

There are alternative runtimes, such as Deno custom runtime & Bun custom runtime for AWS Lambda.

@o-alexandrov
Copy link
Author

o-alexandrov commented Sep 13, 2023

@jtuliani
cc @Jarred-Sumner @Electroid
The extreme cold starts for JavaScript custom runtime layers is proven by data in this PR maxday/lambda-perf#604

  • no matter how fast Bun, Deno would be, the non-provided by AWS JavaScript runtimes would probably always be slower for most of the use cases

@lucajung
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants