Esta página se muestra en inglés. Una traducción al español está en curso.
ConfigsApr 12, 2026·2 min de lectura

Ktor — Async Web Framework for Kotlin by JetBrains

Ktor is a framework for quickly creating connected applications in Kotlin with minimal effort. Built by JetBrains, it supports coroutines natively, runs on multiple engines (Netty, CIO, Jetty), and works for server + client HTTP in Kotlin Multiplatform.

Introducción

Ktor is a framework by JetBrains for quickly creating connected applications in Kotlin. Fully coroutine-based from the ground up, Ktor provides both server and client HTTP functionality. Runs on Netty, CIO, Jetty, or Tomcat engines and supports Kotlin Multiplatform for shared networking code.

What Ktor Does

  • Server — HTTP server with routing, content negotiation
  • Client — HTTP client with multiplatform support
  • Coroutines — native suspend functions throughout
  • Plugins — Authentication, CORS, Sessions, WebSocket, Call Logging
  • Serialization — kotlinx.serialization, Gson, Jackson
  • WebSocket — built-in support
  • Multiple engines — Netty, CIO, Jetty, Tomcat
  • Multiplatform — client works on JVM, iOS, JS, Native

Comparison

Framework Language Async Model
Ktor Kotlin Coroutines
Spring Boot Java/Kotlin Threads + WebFlux
Micronaut Java/Kotlin Compile-time DI
Quarkus Java/Kotlin CDI + Reactive

FAQ

Q: Ktor vs Spring Boot? A: Ktor is lighter, pure Kotlin, and coroutine-native; Spring Boot has a larger ecosystem and more enterprise features. Ktor is a delight for small-to-medium Kotlin projects.

Sources

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados