fiber
Flagship · Go · engine: fasthttp · standard configuration · completeness 4/4
Fiber 3 on fasthttp, default configuration, one prefork child per logical CPU sharing the port. Routing and typed path/query binding through the Fiber API, JSON via c.JSON, gzip and brotli through the compress middleware, static files from the pre-compressed .br/.gz siblings on disk.
Achievements
🥇 1 Gold · 🥈 3 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 | Within its language | Go · HTTP/1.1 | 1 of 5 |
| 🥈 Silver | Test profile | Connection · Baseline | 2 of 71 |
| 🥈 Silver | Test profile | Connection · Short-lived | 2 of 71 |
| 🥈 Silver | Test profile | Efficiency · Latency-10K | 2 of 71 |
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 | 5 of 71 | 5796 |
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 | 2,569,980 | 1.59ms | 3.60ms | 6401.9% | 335MiB |
| Connection | Pipelined | 4,096 | 17,195,479 | 3.81ms | 8.60ms | 6729.7% | 338MiB |
| Connection | Short-lived | 4,096 | 2,049,170 | 1.98ms | 6.82ms | 6465.0% | 770MiB |
| Concurrency | Async Delay | 32,000 | 1,519,706 | 20.90ms | 30.60ms | 4245.8% | 995MiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 72.4us | 105.0us | 40.8% | 260MiB |
| Efficiency | Latency-1M | 1,024 | 997,607 | 121.4us | 256.0us | 4251.9% | 271MiB |
| Efficiency | Latency-500K/8 | 1,024 | 374,319 | 2424524.3us | 6481920.0us | 751.7% | 69MiB |
| Workload | JSON Comp | 4,096 | 178,046 | 22.93ms | 59.70ms | 6197.0% | 758MiB |
| Workload | JSON Comp | 16,384 | 179,380 | 89.94ms | 155.00ms | 6101.2% | 1.5GiB |
| Workload | JSON TLS | 4,096 | 848,171 | 5.03ms | 119.01ms | 6410.3% | 653MiB |
| Workload | 8Gbit | 512 | 49,172 | 107.7us | 147.0us | 340.4% | 298MiB |
| Workload | Static TLS | 1,024 | 557,319 | 1.88ms | 29.64ms | 6497.8% | 514MiB |
| Database | Async DB | 1,024 | 238,426 | 4.00ms | 27.10ms | 5456.0% | 574MiB |
Compared with
The Go entries around fiber on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs fiber | |
|---|---|---|---|
| fiber-tuned | 6462 | +11% | head to head |
| go-fasthttp | 3274 | -44% | head to head |
| echo | 2330 | -60% | head to head |
Compare fiber with any Go entry · Compare fiber with any entry, in any language · Every Go entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry