awslabs / awslabs/swift-aws-lambda-runtime

[core] Improve cold startime

Open
#579 1 comment 0 reactions 1 assignee Claimed by @sebsto View on GitHub
🔨 semver/patch area/performance
Dominant language
Swift
Stars
1.2k
Forks
115
Avg merge
1h 3m
Merged PRs (30d)
1

Description

1. Effectively and simply measure cold start time to establish a baseline on a couple of scenario (Hello World, Soto + DynamoDB, AWS SDK + DynamoDB for example)
2. Explore improvements provided by using the static linux musl SDK or the static Amazon Linux 2023 SDK
3. Explore improvements brought by reducing the binary size)
4. Document how to achieve minimum cold start time (this probably won't be the default for the archive plugin)

This is related to
- benchmark: https://github.com/swift-server/swift-aws-lambda-runtime/issues/577
- compile for musl: https://github.com/swift-server/swift-aws-lambda-runtime/issues/332 (and update the [CI](https://github.com/swift-server/swift-aws-lambda-runtime/issues/547)
- document deployment of OCI images: https://github.com/swift-server/swift-aws-lambda-runtime/issues/193 and https://github.com/swift-server/swift-aws-lambda-runtime/issues/485
-

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.