http-kit
Engine · Clojure
Minimal http-kit engine benchmark with HTTP/1.1 and native WebSocket echo support.
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.
Every result
Alpha Round, 16 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 | 155,016 | 5.26ms | 4.95ms | 641.7% | 4.9GiB |
| Connection | Pipelined | 4,096 | 311,821 | 58.95ms | 110.90ms | 801.7% | 1.9GiB |
| Connection | Short-lived | 4,096 | 115,786 | 3.36ms | 3.60ms | 412.6% | 1.6GiB |
| Concurrency | Async Delay | 32,000 | 76,908 | 184.74ms | 185.40ms | 308.5% | 748MiB |
| Efficiency | Latency-10K | 1,024 | 9,881 | 86.6us | 114.0us | 42.4% | 420MiB |
| Efficiency | Latency-1M | 1,024 | 146,104 | 7635646.7us | 16289792.0us | 466.9% | 814MiB |
| Workload | JSON Comp | 4,096 | 46,663 | 41.57ms | 78.50ms | 6438.5% | 5.2GiB |
| Workload | JSON Comp | 16,384 | 46,603 | 80.09ms | 150.50ms | 6555.5% | 6.8GiB |
| WebSocket | Echo | 512 | 244,829 | 1.92ms | 2.35ms | 448.1% | 367MiB |
| WebSocket | Echo | 4,096 | 210,622 | 4.53ms | 5.24ms | 514.7% | 350MiB |
| WebSocket | Echo | 16,384 | 208,758 | 9.20ms | 12.40ms | 633.0% | 360MiB |
| WebSocket | Echo Pipelined | 512 | 2,260,578 | 3.62ms | 4.17ms | 918.9% | 1.7GiB |
| WebSocket | Echo Pipelined | 4,096 | 2,259,942 | 9.16ms | 15.90ms | 992.8% | 1.7GiB |
| WebSocket | Echo Pipelined | 16,384 | 2,277,590 | 12.61ms | 15.90ms | 936.1% | 684MiB |
| WebSocket | Echo Short-lived | 512 | 132,733 | 965us | 1.84ms | 450.6% | 502MiB |
| WebSocket | Echo Short-lived | 4,096 | 131,716 | 779us | 1.66ms | 421.8% | 500MiB |
Compared with
The Clojure HTTP engines around http-kit 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.
| Entry | Composite | vs http-kit | |
|---|---|---|---|
| Enso | 2766 | +499% | head to head |
| hirundo | 953 | +106% | head to head |
| pedestal | 864 | +87% | head to head |
| capra | 354 | -23% | head to head |
Compare http-kit with any Clojure entry · Compare http-kit with any entry, in any language · Every Clojure entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry