Explore by language

kotlin web framework benchmarks

Benchmark results for 7 kotlin web frameworks, measured with zrk at concurrency 64, 256, 512. Fastest at concurrency 64: jooby with 187 691 requests per second.

Compare throughput and latency together. These measurements describe a specific workload and test environment; performance in your application may differ.

Concurrency 64

kotlin frameworks at concurrency 64, ranked on requests per second.
# 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
4 ktor 3.5 102 130 0.55 ms 2.46 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

Concurrency 256

kotlin frameworks at concurrency 256, ranked on requests per second.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 jooby 4.5 174 822 1.45 ms 1.98 ms 0
2 hexagon-netty-epoll 3.7 151 837 0.81 ms 9.54 ms 0
3 hexagon-netty 3.7 141 607 0.87 ms 9.56 ms 0
4 ktor 3.5 98 965 2.49 ms 5.16 ms 0
5 http4k 6.59 69 454 2.88 ms 14.56 ms 0
6 hexagon-jetty 3.7 68 249 3.60 ms 7.81 ms 0
7 spring 3.4 55 907 4.98 ms 8.59 ms 0

Concurrency 512

kotlin frameworks at concurrency 512, ranked on requests per second.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 jooby 4.5 171 411 2.95 ms 4.25 ms 0
2 hexagon-netty-epoll 3.7 146 659 1.76 ms 11.99 ms 0
3 hexagon-netty 3.7 136 870 1.93 ms 11.85 ms 0
4 ktor 3.5 95 381 5.25 ms 8.65 ms 0
5 hexagon-jetty 3.7 70 430 7.12 ms 14.28 ms 0
6 http4k 6.59 69 379 6.53 ms 23.19 ms 0
7 spring 3.4 56 561 10.10 ms 18.23 ms 0