Hello
kodee happy
I’ve built an experimental library for running Ktor on AWS Lambda:
github.com/jsoizo/ktor-server-lambda
It implements a Ktor server engine that processes
Lambda events without opening a socket, so you can use Ktor routing and plugins as usual.
There are two ways to run it:
•
JVM: a KtorRequestStreamHandler subclass on the managed Java runtime, with support for
SnapStart priming.
•
Kotlin/Native: a custom runtime that polls the
Lambda Runtime API.
Both share the same engine and event codecs, supporting API Gateway, Function URLs, and ALB.
It’s still very early, but I’d love to hear what you think of the approach
kodee walking