HttpArena
Frameworks

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.

MedalAwardFieldRank
🥇 GoldWithin its languageGo · HTTP/1.11 of 5
🥈 SilverTest profileConnection · Baseline2 of 71
🥈 SilverTest profileConnection · Short-lived2 of 71
🥈 SilverTest profileEfficiency · Latency-10K2 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.

FamilyRankComposite
HTTP/1.15 of 715796

Every result

Alpha Round, 13 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0962,569,9801.59ms3.60ms6401.9%335MiB
ConnectionPipelined4,09617,195,4793.81ms8.60ms6729.7%338MiB
ConnectionShort-lived4,0962,049,1701.98ms6.82ms6465.0%770MiB
ConcurrencyAsync Delay32,0001,519,70620.90ms30.60ms4245.8%995MiB
EfficiencyLatency-10K1,0249,98372.4us105.0us40.8%260MiB
EfficiencyLatency-1M1,024997,607121.4us256.0us4251.9%271MiB
EfficiencyLatency-500K/81,024374,3192424524.3us6481920.0us751.7%69MiB
WorkloadJSON Comp4,096178,04622.93ms59.70ms6197.0%758MiB
WorkloadJSON Comp16,384179,38089.94ms155.00ms6101.2%1.5GiB
WorkloadJSON TLS4,096848,1715.03ms119.01ms6410.3%653MiB
Workload8Gbit51249,172107.7us147.0us340.4%298MiB
WorkloadStatic TLS1,024557,3191.88ms29.64ms6497.8%514MiB
DatabaseAsync DB1,024238,4264.00ms27.10ms5456.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.

EntryCompositevs fiber
fiber-tuned6462+11%head to head
go-fasthttp3274-44%head to head
echo2330-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