viltrum
Emerging · V · tuned configuration · completeness 4/4
HTTP framework for V with its own HTTP/1.1 engine: router with :params, middleware chain, first-party WebSocket, strict request framing (Content-Length and chunked, smuggling-hardened, fuzzed in CI). Tuned: one SO_REUSEPORT epoll loop per CPU (epoll_cores) instead of the default thread-per-connection I/O. json-comp uses viltrum's gzip middleware.
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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 92 of 97 | 405 |
| WebSocket | 23 of 31 | 515 |
Every result
Alpha Round, 8 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 | 585,594 | 7.03ms | 17.70ms | 1871.9% | 124MiB |
| Connection | Pipelined | 4,096 | 878,128 | 74.40ms | 116.40ms | 1291.7% | 150MiB |
| Connection | Short-lived | 4,096 | 538,675 | 7.58ms | 30.20ms | 2267.3% | 131MiB |
| Workload | JSON Comp | 4,096 | 14,418 | 276.28ms | 454.20ms | 2249.2% | 177MiB |
| Workload | JSON Comp | 16,384 | 17,366 | 847.75ms | 1.16s | 2398.3% | 481MiB |
| WebSocket | Echo | 512 | 2,371,734 | 215us | 420us | 6100.6% | 106MiB |
| WebSocket | Echo | 4,096 | 2,132,025 | 1.79ms | 3.46ms | 5729.9% | 462MiB |
| WebSocket | Echo | 16,384 | 1,691,008 | 4.55ms | 17.60ms | 5718.8% | 1.0GiB |
Compared with
The V entries around viltrum on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs viltrum | |
|---|---|---|---|
| vanilla-io_uring | 6224 | +1438% | head to head |
| vanilla-epoll | 5531 | +1267% | head to head |
Compare viltrum with any V entry · Compare viltrum with any entry, in any language · Every V entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry