Server-Side Development with Ktor
summary
Ktor is a Kotlin-first server framework built around coroutines and an embedded Netty engine, claiming fast boot times and nonblocking scale (millions of coroutines rather than threads). Live demos show routing, static files, HTML DSL, multipart uploads, basic auth, and JSON serialization via kotlinx.serialization/Jackson/Gson — all working end-to-end. Features are modular plugins (content negotiation, compression, locations for typed routes), testable without a running HTTP server, and deployable to Netty, Tomcat/Jetty, Google App Engine, Heroku or Docker; JetBrains maintains it and production users already exist.
AI-written summary · about
chapters (14)
- 0:00Ktor introduction
- 5:50Ktor goals and philosophy
- 9:23Simple Ktor server
- 15:37Static content and HTML
- 20:14Form submissions and uploads
- 23:17Ktor features setup
- 28:57JSON serialization
- 31:05Ktor authentication
- 33:59Advanced Ktor routing
- 41:35Large app structure
- 42:18Statically typed URLs
- 46:21Coroutines for long tasks
- 49:08Testing Ktor apps
- 50:33Deployment options








