Home / Frameworks / ruby / cuba
HTTP server & framework benchmarks
cuba benchmark results
cuba 4 is a ruby web framework. At concurrency 64 it serves 32 742 requests per second with a P50 latency of 1.88 ms, ranking 278 of 383 overall and 6 of 13 among ruby frameworks.
Throughput, latency & reliability
All measured metrics for cuba 4, by concurrency level.
Metric Concurrency 64 Concurrency 256 Concurrency 512
Requests / second 32 742 33 306 32 454
P50 latency 1.88 ms 7.58 ms 15.42 ms
P75 latency 2.48 ms 9.50 ms 18.80 ms
P90 latency 3.04 ms 11.44 ms 22.37 ms
P99 latency 4.62 ms 15.97 ms 29.93 ms
P99.999 latency 10.07 ms 27.51 ms 521.94 ms
Average latency 1.96 ms 7.69 ms 15.79 ms
Minimum latency 0.07 ms 0.07 ms 0.07 ms
Standard deviation 0.89 ms 3.07 ms 10.19 ms
Total requests 491 147 499 656 486 964
Bytes received 36.69 MB 37.33 MB 36.37 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 cuba on requests per second.
Concurrency Overall Among ruby frameworks
64 278 of 383 6 of 13
256 281 of 383 6 of 13
512 280 of 383 6 of 13
Badge for your README
Show the rank of cuba in your README. The image is updated together with the results.
[](https://web-frameworks-benchmark.vercel.app/frameworks/ruby/cuba/)
[](https://web-frameworks-benchmark.vercel.app/frameworks/ruby/cuba/)
Explore ruby frameworks
Fastest ruby frameworks at concurrency 64.
#
Framework
Requests / second
P50 latency
P99 latency
HTTP errors
1
agoo 2.15
98 215
0.22 ms
10.37 ms
0
2
rage 1.28
63 832
0.28 ms
10.98 ms
0
3
syro 3.2
36 710
1.68 ms
4.03 ms
0
4
hanami-api 0.3
35 468
1.74 ms
4.43 ms
0
5
roda 3.108
35 257
1.75 ms
4.21 ms
0
7
grape 4
28 387
2.19 ms
5.34 ms
0
8
rack_app 11
24 539
2.51 ms
4.97 ms
0
9
hanami 3
19 962
3.02 ms
8.99 ms
0
10
sinatra 4.2
18 768
3.19 ms
10.33 ms
0
11
rails-api 8.1
9 794
5.99 ms
20.08 ms
0
All 13 ruby frameworks