aleph
Engine · Clojure · engine: netty
Minimal Aleph HTTP engine benchmark with HTTP/1.1, TLS, HTTP/2, H2C, and WebSocket 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, 28 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 | 268,646 | 4.72ms | 24.20ms | 6388.3% | 3.1GiB |
| Connection | Pipelined | 4,096 | 330,255 | 117.05ms | 494.10ms | 6494.4% | 2.2GiB |
| Connection | Short-lived | 4,096 | 185,856 | 5.05ms | 49.90ms | 5998.5% | 2.1GiB |
| Concurrency | Async Delay | 32,000 | 176,556 | 120.70ms | 133.50ms | 1746.0% | 2.6GiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 105.7us | 139.0us | 68.9% | 1.1GiB |
| Efficiency | Latency-1M | 1,024 | 409,056 | 5892042.7us | 11915264.0us | 6392.7% | 4.7GiB |
| Workload | JSON Comp | 4,096 | 45,908 | 33.19ms | 445.90ms | 6418.5% | 5.5GiB |
| Workload | JSON Comp | 16,384 | 46,869 | 149.16ms | 1.04s | 6408.3% | 5.5GiB |
| Workload | JSON TLS | 4,096 | 76,616 | 52.93ms | 1.29s | 6512.6% | 5.4GiB |
| Workload | 8Gbit | 512 | 49,350 | 158.1us | 328.0us | 605.2% | 2.2GiB |
| Workload | Static TLS | 1,024 | 20,946 | 51.05ms | 343.33ms | 6437.1% | 4.9GiB |
| HTTP/2 | Baseline | 256 | 232,708 | 105.86ms | 1.28s | 6444.8% | 5.4GiB |
| HTTP/2 | Baseline | 1,024 | 158,271 | 507.05ms | 1.47s | 6299.8% | 5.3GiB |
| HTTP/2 | Static | 256 | 23,522 | 349.25ms | 1.12s | 6379.9% | 8.8GiB |
| HTTP/2 | Static | 1,024 | 23,759 | 1.33s | 4.14s | 6405.9% | 24.6GiB |
| HTTP/2 | Baseline (h2c) | 256 | 258,192 | 96.07ms | 1.27s | 6467.4% | 4.9GiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 162,479 | 580.78ms | 2.58s | 6251.7% | 5.1GiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 165,895 | 1.28s | 4.37s | 6263.4% | 5.0GiB |
| HTTP/2 | JSON (h2c) | 1,024 | 84,227 | 301.70ms | 2.92s | 6334.8% | 14.5GiB |
| HTTP/2 | JSON (h2c) | 4,096 | 51,660 | 1.22s | 4.03s | 6244.7% | 10.2GiB |
| WebSocket | Echo | 512 | 281,807 | 1.82ms | 5.93ms | 6509.1% | 1.1GiB |
| WebSocket | Echo | 4,096 | 274,920 | 2.91ms | 9.00ms | 6372.9% | 1.2GiB |
| WebSocket | Echo | 16,384 | 279,893 | 2.83ms | 9.87ms | 6343.8% | 1.2GiB |
| WebSocket | Echo Pipelined | 512 | 329,061 | 24.91ms | 48.60ms | 6511.9% | 1.2GiB |
| WebSocket | Echo Pipelined | 4,096 | 336,145 | 35.16ms | 106.00ms | 6496.5% | 1.4GiB |
| WebSocket | Echo Pipelined | 16,384 | 332,596 | 33.41ms | 74.30ms | 6374.1% | 1.8GiB |
| WebSocket | Echo Short-lived | 512 | 203,308 | 1.56ms | 5.83ms | 6227.3% | 1.8GiB |
| WebSocket | Echo Short-lived | 4,096 | 200,520 | 1.43ms | 5.31ms | 6207.2% | 1.9GiB |
Compared with
The Clojure HTTP engines around aleph 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 aleph | |
|---|---|---|---|
| Enso | 2766 | +155% | head to head |
| busker | 1248 | +15% | head to head |
| ring-jetty-adapter | 1226 | +13% | head to head |
| hirundo | 953 | -12% | head to head |
| pedestal | 864 | -20% | head to head |
Compare aleph with any Clojure entry · Compare aleph with any entry, in any language · Every Clojure entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry