aws / aws/aws-lambda-base-images

Add AWS-managed alternative JavaScript runtime(s)

Open
#107 2 comments 8 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
777
Forks
118
PR merge metrics
No merged PRs in 30d

Description

## Problem

Running an alternative JavaScript runtime is `practically impossible` due to an [extreme difference in the cold starts](https://twitter.com/BorisTane/status/1595366844973867008).
Why:
- the latest versions of alternative JavaScript runtimes on Linux weigh [32MB for Bun 0.6.13](https://github.com/oven-sh/bun/releases/tag/bun-v0.6.13), [38MB for Deno 1.35.0](https://github.com/denoland/deno/releases)
- 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](https://github.com/hayd/deno-lambda) & [Bun custom runtime](https://github.com/oven-sh/bun/tree/main/packages/bun-lambda) for AWS Lambda.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.