Home / Frameworks / scala / http4s
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.
Metric Concurrency 64 Concurrency 256 Concurrency 512
Requests / second 66 705 48 473 63 557
P50 latency 2763.09 ms 3068.25 ms 2206.55 ms
P75 latency 5051.05 ms 5419.69 ms 4404.22 ms
P90 latency 6531.07 ms 6936.58 ms 6259.37 ms
P99 latency 7437.65 ms 8295.08 ms 8757.25 ms
P99.999 latency 7608.32 ms 8957.27 ms 9703.42 ms
Average latency 3048.21 ms 3300.40 ms 2744.62 ms
Minimum latency 0.10 ms 0.10 ms 0.10 ms
Standard deviation 2343.18 ms 2518.94 ms 2432.09 ms
Total requests 931 518 647 080 847 071
Bytes received 124.66 MB 86.56 MB 113.36 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 http4s on requests per second.
Concurrency Overall Among scala frameworks
64 250 of 387 5 of 5
256 281 of 387 5 of 5
512 242 of 387 5 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