Kotlin web framework benchmarks: performance comparison
The fastest Kotlin web framework in HttpArena is ktor-ghost, with a composite of 2835 on HTTP/1.1 — 40 of 93 against every language in its league. Measured over Alpha Round, every entry on the same machine. This is a tuned entry.
Compare any two Kotlin entries profile by profile →
Every Kotlin entry in the benchmark, compared on the composite score of each family. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 100, and scales the sum by the entry's completeness factor. Rank overall is the entry's place in its own league across all languages; rank among Kotlin narrows the same field to this language. Both link through to the board view they were taken in. How the score works.
Composite scores compare directly across every row. Ranks do not always share a field: a tuned entry has no place in the standard-only ranking, so its rank is taken from the field that includes tuned entries and counts more of them.
HTTP/1.1
| Framework | Type | Composite | Rank overall | Rank among Kotlin |
|---|---|---|---|---|
| ktor-ghost | Flagship tuned | 2835 | 40 of 93 | 1 of 4 |
| ktor | Flagship | 2590 | 27 of 71 | 1 of 3 |
| http4k | Flagship | 1901 | 42 of 71 | 2 of 3 |
| neton | Emerging | 1339 | 56 of 71 | 3 of 3 |
HTTP/2
| Framework | Type | Composite | Rank overall | Rank among Kotlin |
|---|---|---|---|---|
| ktor-ghost | Flagship tuned | 499 | 20 of 28 | 1 of 3 |
| ktor | Flagship | 448 | 12 of 18 | 1 of 2 |
| neton | Emerging | 177 | 14 of 18 | 2 of 2 |
WebSocket
| Framework | Type | Composite | Rank overall | Rank among Kotlin |
|---|---|---|---|---|
| ktor-ghost | Flagship tuned | 455 | 17 of 25 | 1 of 2 |
| ktor | Flagship | 454 | 10 of 15 | 2 of 2 |
Questions
What is the fastest Kotlin web framework?
ktor-ghost leads the Kotlin entries in HttpArena with a composite score of 2835 on HTTP/1.1, measured over Alpha Round. The composite sums a normalized score across the profiles of a family, where the leader of each profile scores 100. Against every language, ktor-ghost ranks 40 of 93 in its own league. It is a tuned entry, so it is ranked in the field that includes tuned configurations.
What is the fastest Kotlin HTTP/2 server?
ktor-ghost, with a composite of 499 on HTTP/2 and 20 of 28 against all languages in its league.
What is the fastest Kotlin WebSocket server?
ktor-ghost, with a composite of 455 on WebSocket and 17 of 25 against all languages in its league.
How many Kotlin web frameworks are benchmarked?
4 Kotlin entries are measured, covering HTTP/1.1, HTTP/2, WebSocket. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.
Is Kotlin fast for web servers?
The quickest Kotlin entry, ktor-ghost, places 40 of 93 on HTTP/1.1 across every language in its league, so that placing is the honest answer for Kotlin at its best rather than for Kotlin in general. The tables below show the spread across all 4 entries.
Every Kotlin entry
Other languages
C · C# · C++ · Clojure · D · Dart · Elixir · Erlang · F# · Go · Haskell · Java · JS · Julia · Lua · Luau · Perl · PHP · Python · Ruby · Rust · Scala · Swift · TS · Zig
Results updated · Alpha Round · Compare two Kotlin entries · All languages · Open the leaderboard