HTTP server & framework benchmarks

rocket benchmark results

rocket 0.5.0 is a rust web framework. At concurrency 64 it serves 108 526 requests per second with a P50 latency of 0.59 ms, ranking 136 of 383 overall and 27 of 32 among rust frameworks.

Throughput, latency & reliability

All measured metrics for rocket 0.5.0, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second108 526103 432101 424
P50 latency0.59 ms2.50 ms4.83 ms
P75 latency0.74 ms3.02 ms6.33 ms
P90 latency0.86 ms3.53 ms7.48 ms
P99 latency1.01 ms4.17 ms10.14 ms
P99.999 latency1.35 ms10.16 ms12.93 ms
Average latency0.59 ms2.47 ms5.04 ms
Minimum latency0.04 ms0.05 ms0.04 ms
Standard deviation0.21 ms0.83 ms1.86 ms
Total requests1 627 9381 551 6411 521 662
Bytes received363.79 MB346.74 MB340.04 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of rocket on requests per second.
ConcurrencyOverallAmong rust frameworks
64136 of 38327 of 32
256139 of 38328 of 32
512139 of 38328 of 32

Badge for your README

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

web frameworks benchmark: #136 of 383

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

web frameworks benchmark: #27 of 32 in rust

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

Explore rust frameworks

Fastest rust frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 may_minihttp 0.1 257 195 0.25 ms 0.28 ms 0
2 ohkami-nio 0.24 244 774 0.32 ms 0.46 ms 0
3 ohkami-tokio 0.24 233 990 0.27 ms 0.47 ms 0
4 tako 2.4 219 732 0.29 ms 0.32 ms 0
5 hyper 1.5 216 185 0.30 ms 0.50 ms 0
6 khttp 0.2 215 714 0.28 ms 0.44 ms 0
7 actix 4.8 210 007 0.30 ms 0.33 ms 0
8 micro-web 0.3 202 040 0.32 ms 0.54 ms 0
9 argan 0.1 194 188 0.33 ms 0.56 ms 0
10 warp 0.4 192 559 0.33 ms 0.57 ms 0

All 32 rust frameworks