HttpArena
Frameworks

go-fasthttp

Flagship · Go · engine: fasthttp · standard configuration · completeness 2/4

High-performance Go HTTP server using fasthttp with zero-allocation design and buffer reuse.

Achievements

🥇 1 Gold · 🥈 1 Silver. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥇 GoldTest profileEfficiency · Latency-1M1 of 76
🥈 SilverWithin its languageGo · HTTP/1.12 of 6

Composite rank

Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.122 of 763632

Every result

Alpha Round, 13 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0961,187,0863.45ms4.50ms4003.4%154MiB
ConnectionPipelined4,09617,058,0513.84ms5.21ms6733.1%146MiB
ConnectionShort-lived4,096694,2425.89ms10.10ms4626.5%307MiB
ConcurrencyAsync Delay32,000932,46934.03ms36.40ms3915.3%794MiB
EfficiencyLatency-10K1,0249,98274.4us105.0us30.8%75MiB
EfficiencyLatency-1M1,024998,359281.6us1129.0us3630.6%88MiB
EfficiencyLatency-500K/81,024380,1142376860.6us4704256.0us788.6%45MiB
WorkloadJSON Comp4,09634,34098.36ms1.70s3075.1%3.2GiB
WorkloadJSON Comp16,38427,453219.11ms3.96s4043.6%5.5GiB
WorkloadJSON TLS4,096509,50536.42ms870.22ms4923.6%445MiB
Workload8Gbit51249,322116.4us155.0us351.4%112MiB
WorkloadStatic TLS1,024290,35730.64ms686.16ms4356.0%347MiB
DatabaseAsync DB1,02460,46616.52ms34.90ms3781.3%210MiB

Compared with

The Go entries around go-fasthttp on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs go-fasthttp
fib-tuned7101+95%head to head
fib6302+73%head to head
fiber5932+63%head to head
echo2252-38%head to head
gin2226-39%head to head

Compare go-fasthttp with any Go entry · Compare go-fasthttp with any entry, in any language · Every Go entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry