HTTP server & framework benchmarks

khttp benchmark results

khttp 0.2 is a rust web framework. At concurrency 64 it serves 215 714 requests per second with a P50 latency of 0.28 ms, ranking 15 of 383 overall and 6 of 32 among rust frameworks.

Throughput, latency & reliability

All measured metrics for khttp 0.2, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second215 714199 813197 117
P50 latency0.28 ms1.28 ms2.63 ms
P75 latency0.29 ms1.30 ms2.68 ms
P90 latency0.30 ms1.32 ms2.76 ms
P99 latency0.44 ms2.03 ms4.30 ms
P99.999 latency12.03 ms15.93 ms17.11 ms
Average latency0.30 ms1.28 ms2.59 ms
Minimum latency0.02 ms0.03 ms0.03 ms
Standard deviation0.35 ms0.45 ms0.63 ms
Total requests3 235 8122 997 5002 957 332
Bytes received312.69 MB289.67 MB285.79 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of khttp on requests per second.
ConcurrencyOverallAmong rust frameworks
6415 of 3836 of 32
25618 of 3836 of 32
51216 of 3835 of 32

Badge for your README

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

web frameworks benchmark: #15 of 383

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

web frameworks benchmark: #6 of 32 in rust

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

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
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
11 zeno-rs-actix 0.2 187 930 0.34 ms 0.37 ms 0

All 32 rust frameworks