HTTP server & framework benchmarks

pekkohttp benchmark results

pekkohttp 1.7 is a scala web framework. At concurrency 64 it serves 87 643 requests per second with a P50 latency of 2147.50 ms, ranking 165 of 387 overall and 3 of 5 among scala frameworks.

Throughput, latency & reliability

All measured metrics for pekkohttp 1.7, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second87 64378 74077 730
P50 latency2147.50 ms2193.07 ms2214.23 ms
P75 latency4274.18 ms4279.64 ms4199.42 ms
P90 latency5639.51 ms5651.80 ms5647.70 ms
P99 latency6472.36 ms6729.05 ms7226.03 ms
P99.999 latency6703.10 ms7123.63 ms8914.26 ms
Average latency2488.97 ms2519.44 ms2515.91 ms
Minimum latency0.06 ms0.06 ms0.07 ms
Standard deviation2080.72 ms2090.85 ms2136.72 ms
Total requests1 190 6701 055 9201 029 830
Bytes received161.62 MB143.33 MB139.79 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of pekkohttp on requests per second.
ConcurrencyOverallAmong scala frameworks
64165 of 3873 of 5
256173 of 3873 of 5
512176 of 3873 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
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