HTTP server & framework benchmarks

fasthttp benchmark results

fasthttp 1.74 is a go web framework. At concurrency 64 it serves 182 167 requests per second with a P50 latency of 0.29 ms, ranking 37 of 383 overall and 3 of 42 among go frameworks.

Throughput, latency & reliability

All measured metrics for fasthttp 1.74, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second182 167166 243158 145
P50 latency0.29 ms1.43 ms3.26 ms
P75 latency0.50 ms2.20 ms3.91 ms
P90 latency0.71 ms2.88 ms4.47 ms
P99 latency1.10 ms3.90 ms5.39 ms
P99.999 latency2.76 ms8.90 ms9.35 ms
Average latency0.35 ms1.54 ms3.23 ms
Minimum latency0.02 ms0.03 ms0.03 ms
Standard deviation0.26 ms0.97 ms0.97 ms
Total requests2 732 5872 493 9082 372 619
Bytes received278.72 MB254.40 MB241.97 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of fasthttp on requests per second.
ConcurrencyOverallAmong go frameworks
6437 of 3833 of 42
25646 of 3833 of 42
51255 of 3834 of 42

Badge for your README

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

web frameworks benchmark: #37 of 383

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

web frameworks benchmark: #3 of 42 in go

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

Explore go frameworks

Fastest go frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 breeze 2 216 272 0.26 ms 0.66 ms 0
2 web 0 205 272 0.26 ms 0.98 ms 0
4 gorouter-fasthttp 4.4 180 176 0.29 ms 1.12 ms 0
5 gearbox 1.2 180 070 0.29 ms 1.12 ms 0
6 fiber 3.5 178 319 0.30 ms 1.12 ms 0
7 hertz 0.9 173 885 0.36 ms 0.76 ms 0
8 router 1.5 172 563 0.31 ms 1.17 ms 0
9 atreugo 11.13 169 652 0.31 ms 1.20 ms 0
10 apirouter 1 108 569 0.47 ms 2.05 ms 0
11 rte 0 107 289 0.48 ms 2.06 ms 0

All 42 go frameworks