Ask HN: Is Ktor a good back end framework to learn?
Also, I already know Python, JavaScript, a bit of Go and Kotlin.
Also, I already know Python, JavaScript, a bit of Go and Kotlin.
Clikt is a nice config parser as well, and Koin is fine for DI. Jackson has good Kotlin support, and I haven’t tried the Kotlin serialization package yet but it looks interesting.
These days i prefer some of the library stitching done for me and would probably opt for spring boot and webflux which has nice Kotlin and coroutine support now.
Generally I recommend using Ktor if you’re familiar with Kotlin or want to use Kotlin for some reason. Elixir or Go might be easier for a beginner, but if you have to learn a new language / paradigm this difference cancels out.
Does it scale?
Is it easy to deploy?
It’s supposed to be scalable but idk because i don’t have a big app. It uses coroutines so it can serve multiple requests simultaneously.
Deployment is easy although idk what to compare to. I created a jar and ran it in linode and i got a working server. You can also create a docker app.