HTTP server & framework benchmarks

axum benchmark results

axum 0.8 is a rust web framework. At concurrency 64 it serves 178 795 requests per second with a P50 latency of 0.36 ms, ranking 40 of 383 overall and 13 of 32 among rust frameworks.

Throughput, latency & reliability

All measured metrics for axum 0.8, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second178 795165 760163 952
P50 latency0.36 ms1.56 ms3.03 ms
P75 latency0.44 ms1.88 ms3.84 ms
P90 latency0.51 ms2.19 ms4.50 ms
P99 latency0.61 ms2.59 ms6.07 ms
P99.999 latency0.89 ms9.29 ms11.16 ms
Average latency0.36 ms1.54 ms3.12 ms
Minimum latency0.03 ms0.03 ms0.03 ms
Standard deviation0.13 ms0.52 ms1.09 ms
Total requests2 682 0072 486 6502 459 756
Bytes received226.00 MB209.60 MB207.33 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of axum on requests per second.
ConcurrencyOverallAmong rust frameworks
6440 of 38313 of 32
25647 of 38313 of 32
51243 of 38313 of 32

Badge for your README

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

web frameworks benchmark: #40 of 383

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

web frameworks benchmark: #13 of 32 in rust

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

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