tokio-uring-ws
Engine · Rust · engine: io_uring
Hand-rolled WebSocket echo on tokio-uring — the io_uring-backed Rust runtime with a completion/owned-buffer API. One tokio-uring runtime per core with SO_REUSEPORT, and a from-scratch RFC 6455 handshake (hand-written SHA-1 + base64) and frame parser/masking on tokio-uring's TcpStream. No WebSocket library.
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 | 7 of 9 | 166 |
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 | 3,518,113 | 144us | 293us | 6434.4% | 43MiB |
| WebSocket | Echo | 4,096 | 3,696,168 | 1.11ms | 1.70ms | 6617.9% | 172MiB |
| WebSocket | Echo | 16,384 | 3,636,463 | 4.47ms | 5.93ms | 6536.9% | 661MiB |
| WebSocket | Echo Pipelined | 512 | 54,434,438 | 149us | 307us | 6624.4% | 44MiB |
| WebSocket | Echo Pipelined | 4,096 | 56,997,062 | 1.15ms | 1.73ms | 6614.2% | 172MiB |
| WebSocket | Echo Pipelined | 16,384 | 54,829,427 | 4.75ms | 7.14ms | 6152.6% | 761MiB |
How the benchmark is run · The machine · Add or fix an entry