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.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥇 Gold | Test profile | Efficiency · Latency-1M | 1 of 76 |
| 🥈 Silver | Within its language | Go · HTTP/1.1 | 2 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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 22 of 76 | 3632 |
Every result
Alpha Round, 13 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,187,086 | 3.45ms | 4.50ms | 4003.4% | 154MiB |
| Connection | Pipelined | 4,096 | 17,058,051 | 3.84ms | 5.21ms | 6733.1% | 146MiB |
| Connection | Short-lived | 4,096 | 694,242 | 5.89ms | 10.10ms | 4626.5% | 307MiB |
| Concurrency | Async Delay | 32,000 | 932,469 | 34.03ms | 36.40ms | 3915.3% | 794MiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 74.4us | 105.0us | 30.8% | 75MiB |
| Efficiency | Latency-1M | 1,024 | 998,359 | 281.6us | 1129.0us | 3630.6% | 88MiB |
| Efficiency | Latency-500K/8 | 1,024 | 380,114 | 2376860.6us | 4704256.0us | 788.6% | 45MiB |
| Workload | JSON Comp | 4,096 | 34,340 | 98.36ms | 1.70s | 3075.1% | 3.2GiB |
| Workload | JSON Comp | 16,384 | 27,453 | 219.11ms | 3.96s | 4043.6% | 5.5GiB |
| Workload | JSON TLS | 4,096 | 509,505 | 36.42ms | 870.22ms | 4923.6% | 445MiB |
| Workload | 8Gbit | 512 | 49,322 | 116.4us | 155.0us | 351.4% | 112MiB |
| Workload | Static TLS | 1,024 | 290,357 | 30.64ms | 686.16ms | 4356.0% | 347MiB |
| Database | Async DB | 1,024 | 60,466 | 16.52ms | 34.90ms | 3781.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.
| Entry | Composite | vs go-fasthttp | |
|---|---|---|---|
| fib-tuned | 7101 | +95% | head to head |
| fib | 6302 | +73% | head to head |
| fiber | 5932 | +63% | head to head |
| echo | 2252 | -38% | head to head |
| gin | 2226 | -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