Home / Frameworks / ruby / rails-api
HTTP server & framework benchmarks
rails-api benchmark results
rails-api 8.1 is a ruby web framework. At concurrency 64 it serves 9 794 requests per second with a P50 latency of 5.99 ms, ranking 328 of 383 overall and 11 of 13 among ruby frameworks.
Throughput, latency & reliability
All measured metrics for rails-api 8.1, by concurrency level.
Metric Concurrency 64 Concurrency 256 Concurrency 512
Requests / second 9 794 9 758 9 377
P50 latency 5.99 ms 26.01 ms 52.31 ms
P75 latency 8.00 ms 28.62 ms 59.33 ms
P90 latency 10.87 ms 31.39 ms 63.97 ms
P99 latency 20.08 ms 41.53 ms 77.56 ms
P99.999 latency 93.43 ms 451.35 ms 1253.29 ms
Average latency 6.54 ms 26.22 ms 54.47 ms
Minimum latency 0.21 ms 0.28 ms 0.24 ms
Standard deviation 4.60 ms 10.69 ms 36.09 ms
Total requests 146 921 146 390 140 691
Bytes received 50.80 MB 50.62 MB 48.66 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 rails-api on requests per second.
Concurrency Overall Among ruby frameworks
64 328 of 383 11 of 13
256 330 of 383 11 of 13
512 330 of 383 11 of 13
Badge for your README
Show the rank of rails-api in your README. The image is updated together with the results.
[](https://web-frameworks-benchmark.vercel.app/frameworks/ruby/rails-api/)
[](https://web-frameworks-benchmark.vercel.app/frameworks/ruby/rails-api/)
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
6
cuba 4
32 742
1.88 ms
4.62 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
All 13 ruby frameworks