hi, I am new to ktor and kotlin in general. I am w...
# server
m
hi, I am new to ktor and kotlin in general. I am wondering what server engine I should be learning! should I be focusing on CIO or use netty?
m
I think you can start with tomcat 🤔 In the website, they have an example about that https://ktor.io/docs/server-engines.html#choose-create-server
e
it probably won't matter until you get deep; there are more important things to learn.
2
a
Ktor is designed in such a way that you never need to interact with the underlying engine, except in advanced scenarios. Just pick any engine and see how it works for you. I tend to find Jetty the most reliable. I believe CIO is a take on a next generation coroutine server for KMP, which you might consider somewhat experimental.
m
Thanks a lot ❤️
l
We use netty in production and it works very well