HttpArena
Frameworks

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.

MedalAwardFieldRank
🥇 GoldWithin its languageKotlin · HTTP/1.11 of 5
🥇 GoldWithin its languageKotlin · HTTP/21 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.

FamilyRankComposite
HTTP/1.137 of 1094053
HTTP/224 of 41739
HTTP/313 of 20357
WebSocket31 of 39485

Every result

Alpha Round, 31 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0961,506,5322.72ms10.70ms6320.8%5.9GiB
ConnectionPipelined4,0962,676,73624.55ms82.40ms6193.1%13.7GiB
ConnectionShort-lived4,096602,7276.76ms69.20ms4610.1%4.9GiB
ConcurrencyAsync Delay32,0001,264,08825.11ms56.50ms6237.2%12.0GiB
EfficiencyLatency-10K1,0249,98097.7us129.0us45.5%1.5GiB
EfficiencyLatency-1M1,024997,746282.8us2637.0us5723.0%5.3GiB
EfficiencyLatency-500K/81,024276,7644503387.4us9170944.0us793.5%2.4GiB
WorkloadJSON Comp4,096249,53016.41ms56.50ms6456.4%5.5GiB
WorkloadJSON Comp16,384243,56666.42ms156.60ms6096.1%9.5GiB
WorkloadJSON TLS4,096888,8265.41ms97.87ms6285.3%6.4GiB
Workload8Gbit51249,394122.3us183.0us346.9%1.6GiB
WorkloadStatic TLS1,024264,8554.19ms87.71ms6257.6%3.7GiB
DatabaseAsync DB1,02451,19919.62ms23.10ms2106.0%2.8GiB
DatabaseFortunes1,02449,99119.90ms43.10ms5612.1%11.9GiB
HTTP/2Baseline2561,121,74923.15ms119.79ms6242.3%12.3GiB
HTTP/2Baseline1,0241,057,19990.59ms297.81ms6350.7%26.2GiB
HTTP/2Static256237,65334.05ms178.56ms6103.8%7.8GiB
HTTP/2Static1,024218,591146.26ms961.92ms5918.7%12.2GiB
HTTP/2Baseline (h2c)2561,172,59922.15ms126.16ms6371.0%13.8GiB
HTTP/2Baseline (h2c)1,0241,112,52989.72ms328.31ms6512.4%25.7GiB
HTTP/2Baseline (h2c)4,096664,176572.16ms1.80s5634.4%31.3GiB
HTTP/2JSON (h2c)1,024729,67743.93ms220.58ms6207.8%11.7GiB
HTTP/2JSON (h2c)4,096684,393183.25ms583.02ms6151.3%26.2GiB
HTTP/3Baseline64378,29410.99ms33.92ms3153.6%4.9GiB
HTTP/3Static6481,73243.94ms172.29ms5854.9%3.1GiB
WebSocketEcho5121,086,879470us1.14ms6159.6%2.7GiB
WebSocketEcho4,0961,180,7973.46ms10.00ms6316.1%2.7GiB
WebSocketEcho16,384862,19218.24ms54.00ms6266.4%3.8GiB
WebSocketEcho Pipelined51211,780,803694us1.86ms5989.1%4.8GiB
WebSocketEcho Pipelined4,09612,985,0145.01ms15.60ms6248.2%4.6GiB
WebSocketEcho Pipelined16,38411,888,58321.30ms70.60ms6230.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.

EntryCompositevs ktor-tuned
ktor3265-19%head to head
neton2274-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