https://kotlinlang.org logo
#ktor
Title
# ktor
s

Sam

09/16/2019, 2:41 PM
Hello, Im a newbie in web industry So I have some confuse about
Ktor
and
kotless
(`https://github.com/JetBrains/kotless`) So why JetBrains build 2 framework at the same time Ktor and Kotless ? Any pros and cons for these framework? Thanks
z

Zach Klippenstein (he/him) [MOD]

09/16/2019, 2:45 PM
This is the first time I've seen that project, but it looks like kotless is designed specifically for implementing AWS lambda functions, whereas ktor is a complete server framework
s

Sam

09/16/2019, 2:47 PM
I’m a newbie , so I really don’t understand why Ktor can not implement Aws lamdda functions ? and What different between
AWS lambda functions
and server framework? Thanks @Zach Klippenstein (he/him) [MOD]
z

Zach Klippenstein (he/him) [MOD]

09/16/2019, 3:35 PM
Afaik you could definitely use ktor for that. But it's a lot more heavyweight, and might be seen as overkill. And kotless looks like it has some features that are particularly targeting serverless environments, like automatic warmup
(also I haven't done web dev in a while and so I don't really have any idea what I'm talking about - just inferring from the readme and the couple times I've played with ktor for fun)
t

TanVD

10/07/2019, 2:41 PM
Kotless is not only web server, it also generates Serverless infrastructure. Basically it deploys itself into the AWS, while KTor is a web-server and have nothing to do with deployments 🙂
4 Views