ktor-tuned
Flagship · Kotlin · engine: netty · tuned configuration · completeness 4/4
JetBrains Ktor 3.x on Netty with Ghost Serializer, JDK 25.
Achievements
🥇 2 Gold. 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 | Within its language | Kotlin · HTTP/1.1 | 1 of 5 |
| 🥇 Gold | Within its language | Kotlin · HTTP/2 | 1 of 3 |
Composite rank
Each profile of a family is worth 1,000 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.
Every result
Alpha Round, 31 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 | 1,506,532 | 2.72ms | 10.70ms | 6320.8% | 5.9GiB |
| Connection | Pipelined | 4,096 | 2,676,736 | 24.55ms | 82.40ms | 6193.1% | 13.7GiB |
| Connection | Short-lived | 4,096 | 602,727 | 6.76ms | 69.20ms | 4610.1% | 4.9GiB |
| Concurrency | Async Delay | 32,000 | 1,264,088 | 25.11ms | 56.50ms | 6237.2% | 12.0GiB |
| Efficiency | Latency-10K | 1,024 | 9,980 | 97.7us | 129.0us | 45.5% | 1.5GiB |
| Efficiency | Latency-1M | 1,024 | 997,746 | 282.8us | 2637.0us | 5723.0% | 5.3GiB |
| Efficiency | Latency-500K/8 | 1,024 | 276,764 | 4503387.4us | 9170944.0us | 793.5% | 2.4GiB |
| Workload | JSON Comp | 4,096 | 249,530 | 16.41ms | 56.50ms | 6456.4% | 5.5GiB |
| Workload | JSON Comp | 16,384 | 243,566 | 66.42ms | 156.60ms | 6096.1% | 9.5GiB |
| Workload | JSON TLS | 4,096 | 888,826 | 5.41ms | 97.87ms | 6285.3% | 6.4GiB |
| Workload | 8Gbit | 512 | 49,394 | 122.3us | 183.0us | 346.9% | 1.6GiB |
| Workload | Static TLS | 1,024 | 264,855 | 4.19ms | 87.71ms | 6257.6% | 3.7GiB |
| Database | Async DB | 1,024 | 51,199 | 19.62ms | 23.10ms | 2106.0% | 2.8GiB |
| Database | Fortunes | 1,024 | 49,991 | 19.90ms | 43.10ms | 5612.1% | 11.9GiB |
| HTTP/2 | Baseline | 256 | 1,121,749 | 23.15ms | 119.79ms | 6242.3% | 12.3GiB |
| HTTP/2 | Baseline | 1,024 | 1,057,199 | 90.59ms | 297.81ms | 6350.7% | 26.2GiB |
| HTTP/2 | Static | 256 | 237,653 | 34.05ms | 178.56ms | 6103.8% | 7.8GiB |
| HTTP/2 | Static | 1,024 | 218,591 | 146.26ms | 961.92ms | 5918.7% | 12.2GiB |
| HTTP/2 | Baseline (h2c) | 256 | 1,172,599 | 22.15ms | 126.16ms | 6371.0% | 13.8GiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 1,112,529 | 89.72ms | 328.31ms | 6512.4% | 25.7GiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 664,176 | 572.16ms | 1.80s | 5634.4% | 31.3GiB |
| HTTP/2 | JSON (h2c) | 1,024 | 729,677 | 43.93ms | 220.58ms | 6207.8% | 11.7GiB |
| HTTP/2 | JSON (h2c) | 4,096 | 684,393 | 183.25ms | 583.02ms | 6151.3% | 26.2GiB |
| HTTP/3 | Baseline | 64 | 378,294 | 10.99ms | 33.92ms | 3153.6% | 4.9GiB |
| HTTP/3 | Static | 64 | 81,732 | 43.94ms | 172.29ms | 5854.9% | 3.1GiB |
| WebSocket | Echo | 512 | 1,086,879 | 470us | 1.14ms | 6159.6% | 2.7GiB |
| WebSocket | Echo | 4,096 | 1,180,797 | 3.46ms | 10.00ms | 6316.1% | 2.7GiB |
| WebSocket | Echo | 16,384 | 862,192 | 18.24ms | 54.00ms | 6266.4% | 3.8GiB |
| WebSocket | Echo Pipelined | 512 | 11,780,803 | 694us | 1.86ms | 5989.1% | 4.8GiB |
| WebSocket | Echo Pipelined | 4,096 | 12,985,014 | 5.01ms | 15.60ms | 6248.2% | 4.6GiB |
| WebSocket | Echo Pipelined | 16,384 | 11,888,583 | 21.30ms | 70.60ms | 6230.3% | 11.3GiB |
Compared with
The Kotlin web frameworks around ktor-tuned 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 ktor-tuned | |
|---|---|---|---|
| ktor | 3265 | -19% | head to head |
| neton | 2274 | -44% | head to head |
Compare ktor-tuned with any Kotlin entry · Compare ktor-tuned with any entry, in any language · Every Kotlin entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry