aegon
Experimental · C++ · engine: io_uring · standard configuration · completeness 4/4
Linux-native C++26 asynchronous web framework on io_uring: one event loop per core with multishot accept and recv over provided buffer rings, requests parsed in place from the receive buffer, coroutine handlers with userspace timers, Glaze JSON serialization, and gzip/deflate (libdeflate) and brotli compression middleware. Static files are served from a per-worker cache that follows the disk through inotify, with precompressed .br/.gz variants. TLS 1.3 through OpenSSL with a zero-copy connection BIO and ALPN; HTTP/2 and HTTP/3 (QUIC) with pooled streams; WebSocket; native gRPC over HTTP/2.
Achievements
🥇 7 Gold · 🥈 4 Silver · 🥉 10 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 |
|---|---|---|---|
| 🥇 Gold | Family composite | Composite · gRPC | 1 of 8 |
| 🥇 Gold | Within its language | C++ · HTTP/1.1 | 1 of 4 |
| 🥇 Gold | Within its language | C++ · WebSocket | 1 of 3 |
| 🥇 Gold | Test profile | Concurrency · CON-1M | 1 of 6 |
| 🥇 Gold | Test profile | WebSocket · Echo Pipelined | 1 of 23 |
| 🥇 Gold | Test profile | gRPC · Unary | 1 of 8 |
| 🥇 Gold | Test profile | gRPC · Unary TLS | 1 of 8 |
| 🥈 Silver | Family composite | Composite · WebSocket | 2 of 23 |
| 🥈 Silver | Within its language | C++ · HTTP/2 | 2 of 3 |
| 🥈 Silver | Test profile | Efficiency · Latency-10K | 2 of 30 |
| 🥈 Silver | Test profile | WebSocket · Echo Short-lived | 2 of 21 |
| 🥉 Bronze | Family composite | Composite · HTTP/1.1 | 3 of 32 |
| 🥉 Bronze | Family composite | Composite · HTTP/2 | 3 of 18 |
| 🥉 Bronze | Family composite | Composite · HTTP/3 | 3 of 11 |
| 🥉 Bronze | Test profile | Concurrency · CON-1M-TLS | 3 of 6 |
| 🥉 Bronze | Test profile | Efficiency · Latency-1M | 3 of 30 |
| 🥉 Bronze | Test profile | HTTP/2 · Baseline | 3 of 16 |
| 🥉 Bronze | Test profile | HTTP/2 · Static | 3 of 16 |
| 🥉 Bronze | Test profile | HTTP/3 · Baseline | 3 of 11 |
| 🥉 Bronze | Test profile | HTTP/3 · Static | 3 of 10 |
| 🥉 Bronze | Test profile | WebSocket · Echo | 3 of 23 |
Composite rank
Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - 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 | 3 of 32 | 6098 |
| HTTP/2 | 3 of 18 | 3368 |
| HTTP/3 | 3 of 11 | 1719 |
| gRPC | 1 of 8 | 2000 |
| WebSocket | 2 of 23 | 2953 |
Every result
Alpha Round, 36 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,889,030 | 1.06ms | 1.55ms | 6063.6% | 306MiB |
| Connection | Pipelined | 4,096 | 30,730,307 | 2.13ms | 2.92ms | 6733.9% | 313MiB |
| Connection | Short-lived | 4,096 | 2,707,258 | 1.39ms | 2.87ms | 5726.4% | 460MiB |
| Concurrency | Async Delay | 32,000 | 1,973,322 | 16.22ms | 19.60ms | 4321.6% | 1001MiB |
| Concurrency | CON-1M | 1,000,000 | 250,001 | 68.5us | 125.0us | 725.8% | 20.0GiB |
| Concurrency | CON-1M-TLS | 1,000,000 | 249,969 | 70.0us | 116.0us | 1625.0% | 73.1GiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 69.1us | 102.0us | 22.8% | 228MiB |
| Efficiency | Latency-1M | 1,024 | 998,027 | 94.4us | 169.0us | 2209.0% | 228MiB |
| Workload | JSON Comp | 4,096 | 944,577 | 4.36ms | 9.59ms | 6339.5% | 478MiB |
| Workload | JSON Comp | 16,384 | 907,255 | 18.06ms | 26.80ms | 6687.0% | 992MiB |
| Workload | JSON TLS | 4,096 | 1,622,740 | 2.57ms | 74.02ms | 6166.3% | 711MiB |
| Workload | 8Gbit | 512 | 49,361 | 90.7us | 109.0us | 215.0% | 292MiB |
| Workload | Static TLS | 1,024 | 1,143,949 | 827.73us | 14.72ms | 6419.3% | 504MiB |
| HTTP/2 | Baseline | 256 | 14,001,292 | 1.26ms | 2.96ms | 4925.3% | 468MiB |
| HTTP/2 | Baseline | 1,024 | 14,704,723 | 4.77ms | 17.83ms | 5993.6% | 1.3GiB |
| HTTP/2 | Static | 256 | 1,448,737 | 5.02ms | 11.45ms | 6170.4% | 446MiB |
| HTTP/2 | Static | 1,024 | 1,285,714 | 24.31ms | 50.10ms | 6507.0% | 931MiB |
| HTTP/2 | Baseline (h2c) | 256 | 14,618,051 | 1.34ms | 2.95ms | 4746.3% | 379MiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 15,034,110 | 3.86ms | 10.36ms | 5448.2% | 1.2GiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 14,153,913 | 17.34ms | 60.35ms | 5401.7% | 4.4GiB |
| HTTP/2 | JSON (h2c) | 1,024 | 3,327,548 | 10.41ms | 38.60ms | 6159.1% | 1.3GiB |
| HTTP/2 | JSON (h2c) | 4,096 | 3,184,440 | 40.88ms | 82.50ms | 6465.9% | 5.7GiB |
| HTTP/3 | Baseline | 64 | 6,517,754 | 628us | 1.10ms | 2577.6% | 320MiB |
| HTTP/3 | Static | 64 | 954,770 | 4.74ms | 13.42ms | 3903.0% | 325MiB |
| gRPC | Unary | 256 | 7,143,280 | 2.21ms | 3.33ms | 2878.5% | 452MiB |
| gRPC | Unary | 1,024 | 7,098,181 | 7.46ms | 17.23ms | 2897.3% | 1.2GiB |
| gRPC | Unary TLS | 256 | 7,005,089 | 2.27ms | 4.88ms | 2944.2% | 483MiB |
| gRPC | Unary TLS | 1,024 | 6,952,509 | 7.58ms | 10.79ms | 3035.7% | 1.3GiB |
| WebSocket | Echo | 512 | 4,196,298 | 121us | 279us | 6316.3% | 223MiB |
| WebSocket | Echo | 4,096 | 4,349,572 | 941us | 1.25ms | 6048.1% | 353MiB |
| WebSocket | Echo | 16,384 | 4,061,071 | 4.04ms | 4.76ms | 5873.2% | 837MiB |
| WebSocket | Echo Pipelined | 512 | 63,400,921 | 128us | 290us | 6155.0% | 218MiB |
| WebSocket | Echo Pipelined | 4,096 | 64,913,334 | 1.01ms | 1.39ms | 6143.6% | 378MiB |
| WebSocket | Echo Pipelined | 16,384 | 60,653,846 | 4.32ms | 5.10ms | 5920.9% | 836MiB |
| WebSocket | Echo Short-lived | 512 | 2,435,232 | 173us | 536us | 5261.3% | 311MiB |
| WebSocket | Echo Short-lived | 4,096 | 2,536,950 | 1.35ms | 2.33ms | 5381.9% | 533MiB |
Compared with
The experimental C++ frameworks around aegon on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.
| Entry | Composite | vs aegon | |
|---|---|---|---|
| doba | 4980 | -18% | head to head |
| hical | 4411 | -28% | head to head |
Compare aegon with any C++ entry · Compare aegon with any entry, in any language · Every C++ entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry