Home / Frameworks / java / spark
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.
Metric Concurrency 64 Concurrency 256 Concurrency 512
Requests / second 71 650 70 261 71 140
P50 latency 0.77 ms 3.50 ms 7.01 ms
P75 latency 1.03 ms 4.16 ms 8.30 ms
P90 latency 1.44 ms 5.01 ms 9.93 ms
P99 latency 2.55 ms 7.53 ms 14.29 ms
P99.999 latency 11.54 ms 14.21 ms 24.33 ms
Average latency 0.89 ms 3.62 ms 7.10 ms
Minimum latency 0.04 ms 0.04 ms 0.04 ms
Standard deviation 0.50 ms 1.27 ms 2.67 ms
Total requests 1 074 790 1 054 032 1 067 344
Bytes received 167.00 MB 163.81 MB 165.84 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 spark on requests per second.
Concurrency Overall Among java frameworks
64 201 of 383 14 of 20
256 200 of 383 15 of 20
512 197 of 383 15 of 20
Badge for your README
Show the rank of spark in your README. The image is updated together with the results.
[](https://web-frameworks-benchmark.vercel.app/frameworks/java/spark/)
[](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