Web Frameworks Benchmark


ktor 3.5 benchmark results

ktor 3.5 is a kotlin web framework. At concurrency 64 it serves 107 342 requests per second with a P50 latency of 0.55 ms, ranking 158 of 358 overall and 4 of 7 among kotlin frameworks.

All measured metrics for ktor 3.5, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second107 342101 49898 529
P50 latency0.55 ms2.44 ms3.21 ms
P75 latency0.68 ms2.62 ms3.62 ms
P90 latency0.84 ms2.81 ms3.91 ms
P99 latency1.64 ms3.21 ms4.36 ms
P99.999 latency4.80 ms5.94 ms8.37 ms
Average latency0.60 ms2.47 ms3.09 ms
Minimum latency0.06 ms0.10 ms0.49 ms
Standard deviation0.28 ms0.29 ms0.68 ms
Total requests1 610 2171 522 9171 478 419
Bytes received158.68 MB150.08 MB145.69 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Rank

Position of ktor on requests per second.
ConcurrencyOverallAmong kotlin frameworks
64158 of 3584 of 7
256157 of 3584 of 7
512163 of 3584 of 7

Other kotlin frameworks

Fastest kotlin frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 jooby 4.5 167 618 0.37 ms 0.59 ms 0
2 hexagon-netty-epoll 3.7 146 253 0.43 ms 0.75 ms 0
3 hexagon-netty 3.7 143 067 0.43 ms 0.77 ms 0
5 http4k 6.58 106 398 0.59 ms 1.04 ms 0
6 spring 3.4 98 622 0.57 ms 1.65 ms 0
7 hexagon-jetty 3.7 80 244 0.77 ms 1.35 ms 0

All 7 kotlin frameworks