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 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.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥈 Silver | Within its language | Go · HTTP/1.1 | 2 of 5 |
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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 19 of 71 | 3274 |
Every result
Alpha Round, 11 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 1,195,675 | 3.42ms | 4.41ms | 4177.7% | 158MiB |
| Connection | Pipelined | 4,096 | 14,846,368 | 4.41ms | 8.17ms | 6536.4% | 154MiB |
| Connection | Short-lived | 4,096 | 706,766 | 5.78ms | 9.62ms | 4658.8% | 309MiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 73.2us | 102.0us | 30.8% | 89MiB |
| Efficiency | Latency-1M | 1,024 | 997,938 | 352.9us | 1360.0us | 3727.8% | 84MiB |
| Workload | JSON Comp | 4,096 | 34,504 | 102.67ms | 1.89s | 3095.9% | 3.2GiB |
| Workload | JSON Comp | 16,384 | 27,078 | 279.57ms | 4.19s | 3875.7% | 6.5GiB |
| Workload | JSON TLS | 4,096 | 528,603 | 54.84ms | 1.19s | 5024.4% | 426MiB |
| Workload | 8Gbit | 512 | 49,346 | 132.0us | 161.0us | 291.5% | 99MiB |
| Workload | Static TLS | 1,024 | 286,160 | 33.78ms | 673.44ms | 4193.7% | 328MiB |
| Database | Async DB | 1,024 | 57,288 | 17.73ms | 37.80ms | 3747.2% | 204MiB |
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.
| Entry | Composite | vs go-fasthttp | |
|---|---|---|---|
| fiber-tuned | 6462 | +97% | head to head |
| fiber | 5796 | +77% | head to head |
| echo | 2330 | -29% | head to head |
| gin | 2301 | -30% | 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