HTTP server & framework benchmarks

gotham benchmark results

gotham 0.8 is a rust web framework. At concurrency 64 it serves 167 405 requests per second with a P50 latency of 0.38 ms, ranking 60 of 383 overall and 18 of 32 among rust frameworks.

Throughput, latency & reliability

All measured metrics for gotham 0.8, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second167 405155 961154 397
P50 latency0.38 ms1.66 ms3.21 ms
P75 latency0.47 ms2.00 ms4.08 ms
P90 latency0.55 ms2.33 ms4.80 ms
P99 latency0.65 ms2.75 ms6.50 ms
P99.999 latency1.62 ms7.21 ms12.16 ms
Average latency0.38 ms1.64 ms3.31 ms
Minimum latency0.03 ms0.03 ms0.03 ms
Standard deviation0.14 ms0.54 ms1.17 ms
Total requests2 511 1582 339 6302 316 408
Bytes received324.42 MB302.47 MB299.37 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of gotham on requests per second.
ConcurrencyOverallAmong rust frameworks
6460 of 38318 of 32
25669 of 38318 of 32
51263 of 38318 of 32

Badge for your README

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

web frameworks benchmark: #60 of 383

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

web frameworks benchmark: #18 of 32 in rust

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

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