HTTP server & framework benchmarks

zio-http benchmark results

zio-http 3.11 is a scala web framework. At concurrency 64 it serves 175 057 requests per second with a P50 latency of 0.33 ms, ranking 71 of 403 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 / second175 057158 966154 964
P50 latency0.33 ms1.60 ms3.29 ms
P75 latency0.35 ms1.64 ms3.34 ms
P90 latency0.45 ms1.67 ms3.39 ms
P99 latency0.72 ms2.19 ms4.02 ms
P99.999 latency4.19 ms6.82 ms11.99 ms
Average latency0.37 ms1.62 ms3.31 ms
Minimum latency0.09 ms0.15 ms0.06 ms
Standard deviation0.16 ms0.19 ms0.34 ms
Total requests2 625 9712 384 7382 324 896
Bytes received239.81 MB218.72 MB213.64 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
6471 of 4031 of 5
25674 of 4031 of 5
51268 of 4031 of 5

Badge for your README

Show the rank of zio-http in your README. The image is updated together with the results.

web frameworks benchmark: #71 of 403

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

web frameworks benchmark: #1 of 5 in scala

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

Explore scala frameworks

Fastest scala frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
2 cask 0.11 94 515 0.41 ms 3.95 ms 0
3 pekkohttp 1.7 83 795 0.71 ms 1.68 ms 0
4 play 3.0 52 753 1.10 ms 3.89 ms 0
5 http4s 0.23 37 495 1.16 ms 5.12 ms 0

All 5 scala frameworks