is Ktor server a good choice when the code should ...
# ktor
b
is Ktor server a good choice when the code should potentially run on something serverless like AWS lambda? I know that at least Spring's overhead is probably too high; main concerns are startup time and not having to deal with reflection/annotations should GraalVM be used
✅ 1
m
Just anecdotal but we use Ktor on Google Cloud Run (AWS lambda competitor) and so far I don’t have problems. We don’t use GraalVM though.
b
thank you, that's useful info 🙂
s
I suppose it could work better if you’re using a native target instead of the jvm which has the startup unless you’re on graal but AWS has a different solution for this. You can use ECS/Fargate to run your server. There’s also AWS Amplify