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.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥉 Bronze | Test profile | Workload · JSON TLS | 3 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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 6 of 29 | 6958 |
Every result
Alpha Round, 11 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 | 3,642,557 | 1.12ms | 5.71ms | 6347.5% | 225MiB |
| Connection | Pipelined | 4,096 | 27,727,795 | 2.35ms | 100.40ms | 6751.8% | 222MiB |
| Connection | Short-lived | 4,096 | 2,639,916 | 1.42ms | 3.83ms | 5886.9% | 197MiB |
| Concurrency | Async Delay | 32,000 | 2,470,545 | 12.86ms | 36.80ms | 6415.9% | 676MiB |
| Efficiency | Latency-10K | 1,024 | 9,979 | 97.1us | 101.0us | 25.1% | 94MiB |
| Efficiency | Latency-1M | 1,024 | 997,578 | 295.1us | 3435.0us | 2854.7% | 109MiB |
| Efficiency | Latency-500K/8 | 1,024 | 478,788 | 386570.6us | 2911232.0us | 811.3% | 47MiB |
| Workload | JSON Comp | 4,096 | 734,228 | 5.48ms | 122.90ms | 6450.7% | 200MiB |
| Workload | JSON Comp | 16,384 | 729,663 | 21.92ms | 264.10ms | 6733.5% | 483MiB |
| Workload | JSON TLS | 4,096 | 1,788,564 | 1.57ms | 114.04ms | 6081.1% | 448MiB |
| Workload | 8Gbit | 512 | 49,316 | 84.4us | 111.0us | 221.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