refacktor-aws / aws-lambda-libc-runtime

An extremely small and fast AWS Lambda runtime with sub-5ms cold starts. Works with C and Rust. I call it "the Lambda libc runtime" because glibc is the only link-time dependency, and the choice of programming language binding is somewhat secondary to the design.
Mozilla Public License 2.0
16 stars 1 forks source link

investigate the use of a low-overhead async engine #1

Open refacktor opened 2 hours ago

refacktor commented 2 hours ago

Investigate possible use of tokio::runtime::Builder::new_current_thread() or smol.

Reddit thread: https://www.reddit.com/r/rust/comments/1h40cdd/comment/lzxc0q1

Goals

refacktor commented 2 hours ago

Because of the way the Lambda Runtime interface works, this will only impact async processing within the handler. Handler invocation is always one-at-a-time synchronous.