HTTP server & framework benchmarks

http4s benchmark results

http4s 0.23 is a scala web framework. At concurrency 64 it serves 66 705 requests per second with a P50 latency of 2763.09 ms, ranking 250 of 387 overall and 5 of 5 among scala frameworks.

Throughput, latency & reliability

All measured metrics for http4s 0.23, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second66 70548 47363 557
P50 latency2763.09 ms3068.25 ms2206.55 ms
P75 latency5051.05 ms5419.69 ms4404.22 ms
P90 latency6531.07 ms6936.58 ms6259.37 ms
P99 latency7437.65 ms8295.08 ms8757.25 ms
P99.999 latency7608.32 ms8957.27 ms9703.42 ms
Average latency3048.21 ms3300.40 ms2744.62 ms
Minimum latency0.10 ms0.10 ms0.10 ms
Standard deviation2343.18 ms2518.94 ms2432.09 ms
Total requests931 518647 080847 071
Bytes received124.66 MB86.56 MB113.36 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of http4s on requests per second.
ConcurrencyOverallAmong scala frameworks
64250 of 3875 of 5
256281 of 3875 of 5
512242 of 3875 of 5

Explore scala frameworks

Fastest scala frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 zio-http 3.11 108 419 1509.55 ms 5386.92 ms 0
2 cask 0.11 103 966 1766.57 ms 5748.74 ms 0
3 pekkohttp 1.7 87 643 2147.50 ms 6472.36 ms 0
4 play 3.0 74 628 2414.93 ms 6981.63 ms 0

All 5 scala frameworks