HttpArena
Frameworks

sober

Experimental · Sober · engine: std/http · standard configuration · completeness 4/4

Sober's standard library HTTP/1.1 server (std/http on std/net, TLS 1.3 from std/tls), default configuration. One task per connection; one io_uring and one SO_REUSEPORT listener per worker — each worker accepts on its own ring and runs the connection itself (epoll fallback), with workers pinned one per CPU. Routes are a plain table ([]http.Route with method, :param / *rest patterns, Mount / Merge, before / after middleware), JSON through std/json, gzip through the built-in compression: option of the server. Static ELF with no libc, FROM scratch.

Achievements

🥉 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
🥉 BronzeTest profileWorkload · JSON TLS3 of 26

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 296958

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0963,642,5571.12ms5.71ms6347.5%225MiB
ConnectionPipelined4,09627,727,7952.35ms100.40ms6751.8%222MiB
ConnectionShort-lived4,0962,639,9161.42ms3.83ms5886.9%197MiB
ConcurrencyAsync Delay32,0002,470,54512.86ms36.80ms6415.9%676MiB
EfficiencyLatency-10K1,0249,97997.1us101.0us25.1%94MiB
EfficiencyLatency-1M1,024997,578295.1us3435.0us2854.7%109MiB
EfficiencyLatency-500K/81,024478,788386570.6us2911232.0us811.3%47MiB
WorkloadJSON Comp4,096734,2285.48ms122.90ms6450.7%200MiB
WorkloadJSON Comp16,384729,66321.92ms264.10ms6733.5%483MiB
WorkloadJSON TLS4,0961,788,5641.57ms114.04ms6081.1%448MiB
Workload8Gbit51249,31684.4us111.0us221.1%170MiB

Compare sober with any entry, in any language · Every Sober entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry