Skip to content

Support Lambda Managed Instances #1065

@bnusunny

Description

@bnusunny

AWS just launched Lambda Managed Instances What's New. It supports multiple concurrent requests on a single execution environment. We should support it to get the benefit to the Rust Runtime users.

To support multi-concurrency, we can spawn a new async task for each invoke. Both lambda-runtime and lambda-http crates need new run methods because the tower service instances need implement Clone trait. Adding Clone trait to the exiting run methods will be a breaking change.

X-ray trace header propagation should not use the environment variable. We need use a thread-safe way to store the x-tray trace header for each request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions