ring-jetty9-adapter
Engine · Clojure · engine: Jetty
Minimal Ring Jetty9 adapter HTTP engine benchmark with HTTP/1.1, TLS, HTTP/2, H2C, and WebSocket support.
Achievements
🥈 1 Silver. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥈 Silver | Within its language | Clojure · HTTP/1.1 | 2 of 9 |
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 | 647,177 | 5.43ms | 9.92ms | 3735.9% | 13.5GiB |
| Connection | Pipelined | 4,096 | 1,532,171 | 35.43ms | 75.40ms | 4292.3% | 14.0GiB |
| Connection | Short-lived | 4,096 | 452,733 | 6.49ms | 15.90ms | 3154.6% | 13.8GiB |
| Concurrency | Async Delay | 32,000 | 4,144 | 4.18s | 5.00s | 50.1% | 2.6GiB |
| Efficiency | Latency-10K | 1,024 | 9,756 | 98.7us | 127.0us | 62.7% | 588MiB |
| Efficiency | Latency-1M | 1,024 | 631,895 | 3305518.3us | 7497728.0us | 3127.8% | 3.0GiB |
| Workload | JSON Comp | 4,096 | 36,236 | 101.69ms | 508.30ms | 4231.1% | 5.6GiB |
| Workload | JSON Comp | 16,384 | 40,079 | 233.16ms | 953.10ms | 4167.7% | 15.4GiB |
| Workload | JSON TLS | 4,096 | 70,800 | 58.99ms | 178.13ms | 4252.1% | 5.5GiB |
| Workload | 8Gbit | 512 | 47,475 | 139.8us | 920.0us | 539.3% | 914MiB |
| Workload | Static TLS | 1,024 | 77,716 | 12.27ms | 268.41ms | 4605.0% | 1.9GiB |
| HTTP/2 | Baseline | 256 | 284,508 | 88.83ms | 138.96ms | 1561.5% | 5.0GiB |
| HTTP/2 | Baseline | 1,024 | 249,120 | 312.14ms | 479.30ms | 1285.0% | 5.4GiB |
| HTTP/2 | Static | 256 | 44,752 | 172.98ms | 456.92ms | 2023.3% | 1.7GiB |
| HTTP/2 | Static | 1,024 | - | - | - | 268.7% | 1.8GiB |
| HTTP/2 | Baseline (h2c) | 256 | 368,041 | 69.71ms | 246.33ms | 2001.8% | 5.0GiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 339,407 | 228.28ms | 1.08s | 1690.3% | 5.3GiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 298,491 | 580.05ms | 2.64s | 1506.7% | 5.9GiB |
| HTTP/2 | JSON (h2c) | 1,024 | 60,093 | 418.09ms | 2.46s | 3920.1% | 4.9GiB |
| HTTP/2 | JSON (h2c) | 4,096 | 70,199 | 910.48ms | 3.72s | 3785.3% | 4.5GiB |
| WebSocket | Echo | 512 | 719,395 | 711us | 1.32ms | 2675.8% | 4.8GiB |
| WebSocket | Echo | 4,096 | 836,050 | 3.40ms | 6.78ms | 3231.8% | 4.9GiB |
| WebSocket | Echo | 16,384 | 693,443 | 10.17ms | 18.90ms | 2670.5% | 7.2GiB |
| WebSocket | Echo Pipelined | 512 | 3,107,869 | 253us | 297us | 4203.4% | 12.7GiB |
| WebSocket | Echo Pipelined | 4,096 | 3,003,986 | 858us | 324us | 4232.2% | 11.2GiB |
| WebSocket | Echo Pipelined | 16,384 | 3,099,635 | 789us | 320us | 4201.3% | 14.1GiB |
| WebSocket | Echo Short-lived | 512 | 466,212 | 891us | 1.79ms | 2495.0% | 1.8GiB |
| WebSocket | Echo Short-lived | 4,096 | 535,018 | 3.50ms | 7.55ms | 3042.3% | 3.4GiB |
Compared with
The Clojure HTTP engines around ring-jetty9-adapter 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 ring-jetty9-adapter | |
|---|---|---|---|
| Enso | 2766 | +119% | head to head |
| busker | 1248 | -1% | head to head |
| ring-jetty-adapter | 1226 | -3% | head to head |
Compare ring-jetty9-adapter with any Clojure entry · Compare ring-jetty9-adapter with any entry, in any language · Every Clojure entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry