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.
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. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.
| Family | Rank | Composite |
|---|---|---|
| WebSocket | 2 of 9 | 197 |
Every result
Alpha Round, 6 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 |
|---|---|---|---|---|---|---|---|
| WebSocket | Echo | 512 | 4,353,147 | 117us | 213us | 6200.6% | 210MiB |
| WebSocket | Echo | 4,096 | 4,429,548 | 924us | 1.27ms | 6408.1% | 231MiB |
| WebSocket | Echo | 16,384 | 4,066,852 | 4.00ms | 4.73ms | 6398.4% | 336MiB |
| WebSocket | Echo Pipelined | 512 | 66,683,702 | 122us | 218us | 6289.2% | 203MiB |
| WebSocket | Echo Pipelined | 4,096 | 68,438,198 | 954us | 1.42ms | 6160.2% | 228MiB |
| WebSocket | Echo Pipelined | 16,384 | 61,261,692 | 4.25ms | 5.06ms | 6136.3% | 337MiB |
How the benchmark is run · The machine · Add or fix an entry