go-fasthttp
Flagship · Go · engine: fasthttp · standard configuration
High-performance Go HTTP server using fasthttp with zero-allocation design and buffer reuse.
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. 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 | 21 of 71 | 333 |
Every result
Alpha Round, 18 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 | 512 | 1,374,954 | 373us | 982us | 4358.1% | 66.6MiB |
| Connection | Baseline | 4,096 | 1,258,483 | 3.25ms | 4.01ms | 4207.1% | 148.5MiB |
| Connection | Pipelined | 512 | 14,170,360 | 578us | 1.46ms | 6471.2% | 49.6MiB |
| Connection | Pipelined | 4,096 | 14,135,609 | 4.63ms | 8.86ms | 6374.1% | 142.4MiB |
| Connection | Short-lived | 512 | 201,821 | 2.53ms | 59.80ms | 2533.8% | 77.3MiB |
| Connection | Short-lived | 4,096 | 716,630 | 5.71ms | 12.70ms | 4970.3% | 321.5MiB |
| Workload | JSON | 4,096 | 462,413 | 8.52ms | 219.10ms | 4922.1% | 325.4MiB |
| Workload | JSON Comp | 512 | 34,160 | 14.87ms | 164.10ms | 2572.6% | 767MiB |
| Workload | JSON Comp | 4,096 | 35,018 | 95.80ms | 1.69s | 3313.1% | 3.5GiB |
| Workload | JSON Comp | 16,384 | 26,108 | 241.27ms | 3.75s | 3817.6% | 6.8GiB |
| Workload | Upload | 32 | 2,023 | 15.78ms | 72.40ms | 2914.6% | 21.8GiB |
| Workload | Upload | 256 | 2,155 | 114.26ms | 484.30ms | 6344.5% | 48.9GiB |
| Workload | Static | 1,024 | 653,856 | 2.08ms | 2.08ms | 5648.7% | 99.4MiB |
| Workload | Static | 4,096 | 624,024 | 7.24ms | 7.24ms | 5528.4% | 221.7MiB |
| Workload | Static | 6,800 | 622,001 | 11.32ms | 11.32ms | 5732.3% | 337.1MiB |
| Database | Async DB | 1,024 | 64,854 | 15.68ms | 33.70ms | 3877.1% | 201.4MiB |
| Multi-endpoint | API-4 | 256 | 26,036 | 9.83ms | 41.50ms | 375.8% | 43.7MiB |
| Multi-endpoint | API-16 | 1,024 | 64,814 | 15.73ms | 78.50ms | 1468.5% | 142.8MiB |
How the benchmark is run · The machine · Add or fix an entry