HttpArena

klite

Emerging · Kotlin · engine: jdk.httpserver · standard configuration · completeness 3/4

Klite 2.x, a lightweight zero-dependency Kotlin framework on the JDK's built-in jdk.httpserver with virtual threads. Annotated routes, klite-json, klite-jdbc with its own connection pool, jte templates, JDK 25.

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.

FamilyRankComposite
HTTP/1.185 of 87171

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,09677,21330.71ms948.10ms5398.6%17.0GiB
ConnectionPipelined4,096348,41972.26ms1.37s1313.7%2.8GiB
ConnectionShort-lived4,09680,71126.15ms258.80ms3935.9%14.2GiB
ConcurrencyAsync Delay32,00098,74250.64ms557.10ms1353.2%1.5GiB
EfficiencyLatency-10K1,0245,985358.6us1747.0us183.8%2.3GiB
EfficiencyLatency-1M1,02478,2379176405.1us18178048.0us5135.4%17.1GiB

Compared with

The Kotlin web frameworks around klite 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 klite
ktor-tuned2857+1573%head to head
neton1480+766%head to head
http4k1185+594%head to head

Compare klite with any Kotlin entry · Compare klite with any entry, in any language · Every Kotlin entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry