Hello :kodee-happy: I’ve built an experimental li...
# feed
j
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
🔥 1
b
You might be interested to know that we're looking at introducing proper support for serverless functions in Ktor. It's just an idea right now, we haven't tried anything out yet, so you might be able to provide some good insight there. KLIP proposal: https://github.com/ktorio/ktor-klip/pull/9