Home / Frameworks / kotlin / ktor
HTTP server & framework benchmarks
ktor benchmark results
ktor 3.5 is a kotlin web framework. At concurrency 64 it serves 102 130 requests per second with a P50 latency of 0.55 ms, ranking 153 of 383 overall and 4 of 7 among kotlin frameworks.
Throughput, latency & reliability
All measured metrics for ktor 3.5, by concurrency level.
Metric Concurrency 64 Concurrency 256 Concurrency 512
Requests / second 102 130 98 965 95 381
P50 latency 0.55 ms 2.49 ms 5.25 ms
P75 latency 0.65 ms 2.82 ms 5.84 ms
P90 latency 0.87 ms 3.33 ms 6.63 ms
P99 latency 2.46 ms 5.16 ms 8.65 ms
P99.999 latency 8.71 ms 13.79 ms 14.78 ms
Average latency 0.63 ms 2.59 ms 5.37 ms
Minimum latency 0.06 ms 0.31 ms 0.15 ms
Standard deviation 0.42 ms 0.73 ms 1.05 ms
Total requests 1 532 002 1 484 643 1 430 961
Bytes received 150.97 MB 146.31 MB 141.02 MB
HTTP errors 0 0 0
Request timeouts 0 0 0
Socket connection errors 0 0 0
Socket read errors 0 0 0
Socket write errors 0 0 0
Position in this benchmark
Position of ktor on requests per second.
Concurrency Overall Among kotlin frameworks
64 153 of 383 4 of 7
256 148 of 383 4 of 7
512 157 of 383 4 of 7
Badge for your README
Show the rank of ktor in your README. The image is updated together with the results.
[](https://web-frameworks-benchmark.vercel.app/frameworks/kotlin/ktor/)
[](https://web-frameworks-benchmark.vercel.app/frameworks/kotlin/ktor/)
Explore kotlin frameworks
Fastest kotlin frameworks at concurrency 64.
#
Framework
Requests / second
P50 latency
P99 latency
HTTP errors
1
jooby 4.5
187 691
0.31 ms
0.65 ms
0
2
hexagon-netty-epoll 3.7
154 799
0.17 ms
5.60 ms
0
3
hexagon-netty 3.7
146 944
0.18 ms
5.81 ms
0
5
hexagon-jetty 3.7
68 364
0.79 ms
2.75 ms
0
6
http4k 6.59
67 204
0.62 ms
5.03 ms
0
7
spring 3.4
51 992
1.22 ms
4.55 ms
0
All 7 kotlin frameworks