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 · 🥈 1 Silver · 🥉 1 Bronze. 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 6
🥈 SilverTest profileEfficiency · Latency-10K2 of 76
🥉 BronzeTest profileWorkload · 8Gbit3 of 73

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.16 of 765932
WebSocket10 of 231586

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0962,623,6781.56ms3.47ms6367.5%348MiB
ConnectionPipelined4,09618,543,4243.53ms7.93ms6689.5%357MiB
ConnectionShort-lived4,0962,062,4891.97ms6.96ms6444.1%892MiB
ConcurrencyAsync Delay32,0001,519,04220.91ms30.60ms4208.2%1.0GiB
EfficiencyLatency-10K1,0249,98375.7us106.0us41.8%275MiB
EfficiencyLatency-1M1,024997,737121.9us246.0us4332.5%278MiB
EfficiencyLatency-500K/81,024377,2732332761.1us6785024.0us789.0%61MiB
WorkloadJSON Comp4,096290,41414.08ms41.40ms6238.2%804MiB
WorkloadJSON Comp16,384288,80556.00ms94.00ms6558.8%1.6GiB
WorkloadJSON TLS4,096902,0934.70ms106.82ms6311.6%722MiB
Workload8Gbit51249,441100.7us137.0us351.8%406MiB
WorkloadStatic TLS1,024579,5421.81ms27.59ms6489.9%529MiB
DatabaseAsync DB1,024240,2953.68ms23.00ms5403.0%605MiB
WebSocketEcho5123,011,629169us497us6431.5%338MiB
WebSocketEcho4,0963,006,0691.36ms3.09ms6379.6%449MiB
WebSocketEcho16,3842,649,4996.14ms10.00ms6629.0%990MiB
WebSocketEcho Pipelined5124,621,6991.76ms64.20ms6274.6%418MiB
WebSocketEcho Pipelined4,0964,638,20113.14ms510.00ms6071.3%572MiB
WebSocketEcho Pipelined16,3844,627,73941.82ms1.85s6270.7%1.0GiB
WebSocketEcho Short-lived5121,655,701234us1.08ms5898.9%490MiB
WebSocketEcho Short-lived4,0961,910,3251.86ms7.15ms6220.7%633MiB

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
fib-tuned7101+20%head to head
fiber-tuned6372+7%head to head
fib6302+6%head to head
go-fasthttp3632-39%head to head
echo2252-62%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