Go web framework benchmarks
The fastest Go web framework in HttpArena is go-fasthttp, with a composite of 333 on HTTP/1.1 — 21 of 71 against every language in its league. Measured over Alpha Round, every entry on the same machine.
Every Go entry in the benchmark, compared on the composite score of each family. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 100. Rank overall is the entry's place in its own league across all languages; rank among Go narrows the same field to this language. Both link through to the board view they were taken in. How the score works.
Composite scores compare directly across every row. Ranks do not always share a field: a tuned entry has no place in the standard-only ranking, so its rank is taken from the field that includes tuned entries and counts more of them.
HTTP/1.1
| Framework | Type | Composite | Rank overall | Rank among Go |
|---|---|---|---|---|
| go-fasthttp | Flagship | 333 | 21 of 71 | 1 of 5 |
| fiber | Flagship | 179 | 43 of 71 | 2 of 5 |
| go-stdlib | Flagship tuned | 173 | 63 of 97 | 3 of 6 |
| echo | Flagship | 170 | 45 of 71 | 3 of 5 |
| chi | Flagship | 167 | 46 of 71 | 4 of 5 |
| gin | Flagship | 161 | 47 of 71 | 5 of 5 |
| caddy | Infrastructure | 110 | 3 of 4 | — |
HTTP/2
| Framework | Type | Composite | Rank overall | Rank among Go |
|---|---|---|---|---|
| caddy | Infrastructure | 16 | 3 of 4 | — |
HTTP/3
| Framework | Type | Composite | Rank overall | Rank among Go |
|---|---|---|---|---|
| caddy | Infrastructure | 13 | 2 of 2 | — |
gRPC
| Framework | Type | Composite | Rank overall | Rank among Go |
|---|---|---|---|---|
| grpc-go | Emerging tuned | 43 | 8 of 8 | — |
WebSocket
| Framework | Type | Composite | Rank overall | Rank among Go |
|---|---|---|---|---|
| go-websocket | Emerging tuned | 23 | 28 of 32 | — |
Questions
What is the fastest Go web framework?
go-fasthttp leads the Go entries in HttpArena with a composite score of 333 on HTTP/1.1, measured over Alpha Round. The composite sums a normalized score across the profiles of a family, where the leader of each profile scores 100. Against every language, go-fasthttp ranks 21 of 71 in its own league.
What is the fastest Go HTTP/2 server?
caddy, with a composite of 16 on HTTP/2 and 3 of 4 against all languages in its league.
What is the fastest Go HTTP/3 server?
caddy, with a composite of 13 on HTTP/3 and 2 of 2 against all languages in its league.
What is the fastest Go gRPC server?
grpc-go, with a composite of 43 on gRPC and 8 of 8 against all languages in its league.
What is the fastest Go WebSocket server?
go-websocket, with a composite of 23 on WebSocket and 28 of 32 against all languages in its league.
How many Go web frameworks are benchmarked?
9 Go entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, gRPC, WebSocket. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.
Is Go fast for web servers?
The quickest Go entry, go-fasthttp, places 21 of 71 on HTTP/1.1 across every language in its league, so that placing is the honest answer for Go at its best rather than for Go in general. The tables below show the spread across all 9 entries.
Every Go entry
Alpha Round · All languages · Open the leaderboard