HTTP server & framework benchmarks

zio-http benchmark results

zio-http 3.11 is a scala web framework. At concurrency 64 it serves 108 419 requests per second with a P50 latency of 1509.55 ms, ranking 93 of 387 overall and 1 of 5 among scala frameworks.

Throughput, latency & reliability

All measured metrics for zio-http 3.11, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second108 41993 51792 587
P50 latency1509.55 ms1798.31 ms1038.34 ms
P75 latency3317.42 ms3702.44 ms2507.09 ms
P90 latency4567.72 ms4993.71 ms3359.06 ms
P99 latency5386.92 ms5866.15 ms4644.18 ms
P99.999 latency5703.68 ms5990.40 ms8992.77 ms
Average latency1897.83 ms2149.84 ms1405.81 ms
Minimum latency0.04 ms0.04 ms0.04 ms
Standard deviation1718.59 ms1859.97 ms1346.41 ms
Total requests1 518 3841 352 3441 331 069
Bytes received121.44 MB108.11 MB106.51 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of zio-http on requests per second.
ConcurrencyOverallAmong scala frameworks
6493 of 3871 of 5
256100 of 3871 of 5
51298 of 3871 of 5

Explore scala frameworks

Fastest scala frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
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
5 http4s 0.23 66 705 2763.09 ms 7437.65 ms 0

All 5 scala frameworks