Home / Frameworks / rust / khttp
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.
Metric Concurrency 64 Concurrency 256 Concurrency 512
Requests / second 215 714 199 813 197 117
P50 latency 0.28 ms 1.28 ms 2.63 ms
P75 latency 0.29 ms 1.30 ms 2.68 ms
P90 latency 0.30 ms 1.32 ms 2.76 ms
P99 latency 0.44 ms 2.03 ms 4.30 ms
P99.999 latency 12.03 ms 15.93 ms 17.11 ms
Average latency 0.30 ms 1.28 ms 2.59 ms
Minimum latency 0.02 ms 0.03 ms 0.03 ms
Standard deviation 0.35 ms 0.45 ms 0.63 ms
Total requests 3 235 812 2 997 500 2 957 332
Bytes received 312.69 MB 289.67 MB 285.79 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 khttp on requests per second.
Concurrency Overall Among rust frameworks
64 15 of 383 6 of 32
256 18 of 383 6 of 32
512 16 of 383 5 of 32
Badge for your README
Show the rank of khttp in your README. The image is updated together with the results.
[](https://web-frameworks-benchmark.vercel.app/frameworks/rust/khttp/)
[](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