HttpArena

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.

MedalAwardFieldRank
🥇 GoldFamily compositeComposite · gRPC1 of 8
🥇 GoldWithin its languageC++ · HTTP/1.11 of 4
🥇 GoldWithin its languageC++ · WebSocket1 of 3
🥇 GoldTest profileConcurrency · CON-1M1 of 6
🥇 GoldTest profileWebSocket · Echo Pipelined1 of 23
🥇 GoldTest profilegRPC · Unary1 of 8
🥇 GoldTest profilegRPC · Unary TLS1 of 8
🥈 SilverFamily compositeComposite · WebSocket2 of 23
🥈 SilverWithin its languageC++ · HTTP/22 of 3
🥈 SilverTest profileEfficiency · Latency-10K2 of 30
🥈 SilverTest profileWebSocket · Echo Short-lived2 of 21
🥉 BronzeFamily compositeComposite · HTTP/1.13 of 32
🥉 BronzeFamily compositeComposite · HTTP/23 of 18
🥉 BronzeFamily compositeComposite · HTTP/33 of 11
🥉 BronzeTest profileConcurrency · CON-1M-TLS3 of 6
🥉 BronzeTest profileEfficiency · Latency-1M3 of 30
🥉 BronzeTest profileHTTP/2 · Baseline3 of 16
🥉 BronzeTest profileHTTP/2 · Static3 of 16
🥉 BronzeTest profileHTTP/3 · Baseline3 of 11
🥉 BronzeTest profileHTTP/3 · Static3 of 10
🥉 BronzeTest profileWebSocket · Echo3 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.

FamilyRankComposite
HTTP/1.13 of 326098
HTTP/23 of 183368
HTTP/33 of 111719
gRPC1 of 82000
WebSocket2 of 232953

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0963,889,0301.06ms1.55ms6063.6%306MiB
ConnectionPipelined4,09630,730,3072.13ms2.92ms6733.9%313MiB
ConnectionShort-lived4,0962,707,2581.39ms2.87ms5726.4%460MiB
ConcurrencyAsync Delay32,0001,973,32216.22ms19.60ms4321.6%1001MiB
ConcurrencyCON-1M1,000,000250,00168.5us125.0us725.8%20.0GiB
ConcurrencyCON-1M-TLS1,000,000249,96970.0us116.0us1625.0%73.1GiB
EfficiencyLatency-10K1,0249,98369.1us102.0us22.8%228MiB
EfficiencyLatency-1M1,024998,02794.4us169.0us2209.0%228MiB
WorkloadJSON Comp4,096944,5774.36ms9.59ms6339.5%478MiB
WorkloadJSON Comp16,384907,25518.06ms26.80ms6687.0%992MiB
WorkloadJSON TLS4,0961,622,7402.57ms74.02ms6166.3%711MiB
Workload8Gbit51249,36190.7us109.0us215.0%292MiB
WorkloadStatic TLS1,0241,143,949827.73us14.72ms6419.3%504MiB
HTTP/2Baseline25614,001,2921.26ms2.96ms4925.3%468MiB
HTTP/2Baseline1,02414,704,7234.77ms17.83ms5993.6%1.3GiB
HTTP/2Static2561,448,7375.02ms11.45ms6170.4%446MiB
HTTP/2Static1,0241,285,71424.31ms50.10ms6507.0%931MiB
HTTP/2Baseline (h2c)25614,618,0511.34ms2.95ms4746.3%379MiB
HTTP/2Baseline (h2c)1,02415,034,1103.86ms10.36ms5448.2%1.2GiB
HTTP/2Baseline (h2c)4,09614,153,91317.34ms60.35ms5401.7%4.4GiB
HTTP/2JSON (h2c)1,0243,327,54810.41ms38.60ms6159.1%1.3GiB
HTTP/2JSON (h2c)4,0963,184,44040.88ms82.50ms6465.9%5.7GiB
HTTP/3Baseline646,517,754628us1.10ms2577.6%320MiB
HTTP/3Static64954,7704.74ms13.42ms3903.0%325MiB
gRPCUnary2567,143,2802.21ms3.33ms2878.5%452MiB
gRPCUnary1,0247,098,1817.46ms17.23ms2897.3%1.2GiB
gRPCUnary TLS2567,005,0892.27ms4.88ms2944.2%483MiB
gRPCUnary TLS1,0246,952,5097.58ms10.79ms3035.7%1.3GiB
WebSocketEcho5124,196,298121us279us6316.3%223MiB
WebSocketEcho4,0964,349,572941us1.25ms6048.1%353MiB
WebSocketEcho16,3844,061,0714.04ms4.76ms5873.2%837MiB
WebSocketEcho Pipelined51263,400,921128us290us6155.0%218MiB
WebSocketEcho Pipelined4,09664,913,3341.01ms1.39ms6143.6%378MiB
WebSocketEcho Pipelined16,38460,653,8464.32ms5.10ms5920.9%836MiB
WebSocketEcho Short-lived5122,435,232173us536us5261.3%311MiB
WebSocketEcho Short-lived4,0962,536,9501.35ms2.33ms5381.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.

EntryCompositevs aegon
doba4980-18%head to head
hical4411-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