HTTP server & framework benchmarks

spark benchmark results

spark 2.9 is a java web framework. At concurrency 64 it serves 71 650 requests per second with a P50 latency of 0.77 ms, ranking 201 of 383 overall and 14 of 20 among java frameworks.

Throughput, latency & reliability

All measured metrics for spark 2.9, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second71 65070 26171 140
P50 latency0.77 ms3.50 ms7.01 ms
P75 latency1.03 ms4.16 ms8.30 ms
P90 latency1.44 ms5.01 ms9.93 ms
P99 latency2.55 ms7.53 ms14.29 ms
P99.999 latency11.54 ms14.21 ms24.33 ms
Average latency0.89 ms3.62 ms7.10 ms
Minimum latency0.04 ms0.04 ms0.04 ms
Standard deviation0.50 ms1.27 ms2.67 ms
Total requests1 074 7901 054 0321 067 344
Bytes received167.00 MB163.81 MB165.84 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of spark on requests per second.
ConcurrencyOverallAmong java frameworks
64201 of 38314 of 20
256200 of 38315 of 20
512197 of 38315 of 20

Badge for your README

Show the rank of spark in your README. The image is updated together with the results.

web frameworks benchmark: #201 of 383

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

web frameworks benchmark: #14 of 20 in java

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

Explore java frameworks

Fastest java frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 activej 5.5 227 183 0.26 ms 0.53 ms 0
2 jooby 4.5 204 943 0.28 ms 0.59 ms 0
3 rapidoid 5.5 192 357 0.33 ms 0.50 ms 0
4 vertx 5.1 188 779 0.31 ms 0.64 ms 0
5 vertx4web 5.1 176 773 0.33 ms 0.68 ms 0
6 undertow 2.4 160 027 0.39 ms 1.08 ms 0
7 light-4j 2.2 154 873 0.18 ms 4.76 ms 0
8 helidon-se 27 154 582 0.24 ms 0.36 ms 0
9 quarkus 3.39 143 177 0.41 ms 0.85 ms 0
10 aspectran 9.8 122 745 0.20 ms 5.31 ms 0

All 20 java frameworks