http4k
Flagship · Kotlin · engine: Undertow · standard configuration · completeness 4/4
http4k 6 on the Undertow backend, default configuration. Routing and path/query access through the http4k API, Jackson JSON, gzip through the http4k GZip server filter.
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 | Kotlin · HTTP/1.1 | 2 of 3 |
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 | 42 of 71 | 1901 |
Every result
Alpha Round, 11 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 | 173,410 | 20.50ms | 62.60ms | 1269.2% | 4.0GiB |
| Connection | Pipelined | 4,096 | 441,225 | 134.00ms | 393.80ms | 1224.1% | 8.8GiB |
| Connection | Short-lived | 4,096 | 181,321 | 19.89ms | 98.30ms | 1532.8% | 6.2GiB |
| Concurrency | Async Delay | 32,000 | 186,665 | 101.41ms | 170.60ms | 1743.1% | 6.6GiB |
| Efficiency | Latency-10K | 1,024 | 9,980 | 101.2us | 130.0us | 63.7% | 1.3GiB |
| Efficiency | Latency-1M | 1,024 | 203,997 | 7799238.5us | 16273408.0us | 1327.3% | 2.9GiB |
| Efficiency | Latency-500K/8 | 1,024 | 143,703 | 7075541.1us | 14340096.0us | 792.0% | 1.3GiB |
| Workload | JSON Comp | 4,096 | 147,103 | 24.56ms | 127.90ms | 5119.2% | 11.3GiB |
| Workload | JSON Comp | 16,384 | 151,449 | 77.21ms | 398.10ms | 5344.9% | 11.2GiB |
| Workload | JSON TLS | 4,096 | 173,630 | 64.19ms | 2.00s | 3331.1% | 8.5GiB |
| Workload | 8Gbit | 512 | 49,325 | 164.8us | 1334.0us | 546.8% | 3.4GiB |
Compared with
The Kotlin entries around http4k on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs http4k | |
|---|---|---|---|
| ktor-ghost | 2835 | +49% | head to head |
| ktor | 2590 | +36% | head to head |
| neton | 1339 | -30% | head to head |
Compare http4k with any Kotlin entry · Compare http4k with any entry, in any language · Every Kotlin entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry