HttpArena
Frameworks

ringzero-ws

Engine · C · engine: io_uring

Hand-rolled WebSocket echo server on raw io_uring (liburing) — no WebSocket library. Multishot accept + multishot recv into a provided buffer ring for zero-copy ingest, one ring per core with SO_REUSEPORT, and a from-scratch RFC 6455 handshake (hand-written SHA-1 + base64) and frame parser/masking.

Achievements

🥇 1 Gold · 🥉 2 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
🥇 GoldTest profileWebSocket · Echo Pipelined1 of 8
🥉 BronzeFamily compositeComposite · WebSocket3 of 9
🥉 BronzeTest profileWebSocket · Echo3 of 9

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
WebSocket3 of 91988

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
WebSocketEcho5124,353,147117us213us6200.6%210MiB
WebSocketEcho4,0964,429,548924us1.27ms6408.1%231MiB
WebSocketEcho16,3844,066,8524.00ms4.73ms6398.4%336MiB
WebSocketEcho Pipelined51266,683,702122us218us6289.2%203MiB
WebSocketEcho Pipelined4,09668,438,198954us1.42ms6160.2%228MiB
WebSocketEcho Pipelined16,38461,261,6924.25ms5.06ms6136.3%337MiB

Compare ringzero-ws with any C entry · Compare ringzero-ws with any entry, in any language · Every C entry, ranked

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