HTTP server & framework benchmarks

http4k benchmark results

http4k 6.59 is a kotlin web framework. At concurrency 64 it serves 67 204 requests per second with a P50 latency of 0.62 ms, ranking 206 of 383 overall and 6 of 7 among kotlin frameworks.

Throughput, latency & reliability

All measured metrics for http4k 6.59, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second67 20469 45469 379
P50 latency0.62 ms2.88 ms6.53 ms
P75 latency1.26 ms5.00 ms9.79 ms
P90 latency2.17 ms7.57 ms13.53 ms
P99 latency5.03 ms14.56 ms23.19 ms
P99.999 latency13.95 ms28.75 ms44.19 ms
Average latency0.96 ms3.69 ms7.39 ms
Minimum latency0.04 ms0.05 ms0.08 ms
Standard deviation1.06 ms3.06 ms4.79 ms
Total requests1 008 1071 041 9531 040 946
Bytes received134.88 MB139.43 MB139.28 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of http4k on requests per second.
ConcurrencyOverallAmong kotlin frameworks
64206 of 3836 of 7
256202 of 3835 of 7
512200 of 3836 of 7

Badge for your README

Show the rank of http4k in your README. The image is updated together with the results.

web frameworks benchmark: #206 of 383

[![Web Frameworks Benchmark](https://web-frameworks-benchmark.vercel.app/frameworks/kotlin/http4k/badge.svg)](https://web-frameworks-benchmark.vercel.app/frameworks/kotlin/http4k/)

web frameworks benchmark: #6 of 7 in kotlin

[![Web Frameworks Benchmark](https://web-frameworks-benchmark.vercel.app/frameworks/kotlin/http4k/badge-language.svg)](https://web-frameworks-benchmark.vercel.app/frameworks/kotlin/http4k/)

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
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
7 spring 3.4 51 992 1.22 ms 4.55 ms 0

All 7 kotlin frameworks