cardigan
Engine · Java · engine: io_uring
Java HTTP engine built on io_uring, Panama FFI, virtual threads, and thread-per-core event loops.
Achievements
🥇 1 Gold · 🥉 1 Bronze. 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 |
|---|---|---|---|
| 🥇 Gold | Test profile | Workload · 8Gbit | 1 of 27 |
| 🥉 Bronze | Family composite | Composite · gRPC | 3 of 4 |
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, 19 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 | 4,036,459 | 1.01ms | 1.41ms | 6201.8% | 1.6GiB |
| Connection | Pipelined | 4,096 | 45,708,428 | 1.43ms | 2.73ms | 6479.0% | 1.5GiB |
| Connection | Short-lived | 4,096 | 2,607,769 | 1.43ms | 4.08ms | 5695.6% | 1.5GiB |
| Concurrency | Async Delay | 32,000 | 2,577,460 | 12.33ms | 18.90ms | 6281.7% | 2.0GiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 86.3us | 120.0us | 32.9% | 836MiB |
| Efficiency | Latency-1M | 1,024 | 997,978 | 92.3us | 161.0us | 2257.3% | 908MiB |
| Workload | JSON TLS | 4,096 | 1,739,226 | 2.22ms | 128.96ms | 6187.0% | 2.0GiB |
| Workload | 8Gbit | 512 | 49,422 | 99.2us | 134.0us | 269.0% | 1.6GiB |
| HTTP/2 | Baseline | 256 | 14,503,160 | 888us | 20.77ms | 2162.8% | 1.3GiB |
| HTTP/2 | Baseline | 1,024 | 13,850,713 | 3.47ms | 86.37ms | 1626.7% | 2.8GiB |
| HTTP/2 | Static | 256 | 1,187,637 | 7.23ms | 33.06ms | 6200.2% | 1.4GiB |
| HTTP/2 | Static | 1,024 | 1,039,690 | 30.10ms | 952.39ms | 6135.6% | 2.4GiB |
| HTTP/2 | Baseline (h2c) | 256 | 15,040,192 | 847us | 12.13ms | 1634.9% | 1.3GiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 14,740,580 | 3.30ms | 18.96ms | 1409.8% | 2.8GiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 13,574,667 | 14.58ms | 76.92ms | 1365.2% | 6.0GiB |
| gRPC | Unary | 256 | 7,056,947 | 2.15ms | 21.55ms | 1325.8% | 2.0GiB |
| gRPC | Unary | 1,024 | 6,859,907 | 7.81ms | 60.57ms | 1641.7% | 4.0GiB |
| gRPC | Unary TLS | 256 | 6,778,675 | 2.21ms | 23.25ms | 1559.8% | 2.0GiB |
| gRPC | Unary TLS | 1,024 | 6,552,167 | 8.05ms | 84.25ms | 1807.5% | 4.2GiB |
Compare cardigan with any Java entry · Compare cardigan with any entry, in any language · Every Java entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry