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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 85 of 87 | 171 |
Every result
Alpha Round, 6 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 | 77,213 | 30.71ms | 948.10ms | 5398.6% | 17.0GiB |
| Connection | Pipelined | 4,096 | 348,419 | 72.26ms | 1.37s | 1313.7% | 2.8GiB |
| Connection | Short-lived | 4,096 | 80,711 | 26.15ms | 258.80ms | 3935.9% | 14.2GiB |
| Concurrency | Async Delay | 32,000 | 98,742 | 50.64ms | 557.10ms | 1353.2% | 1.5GiB |
| Efficiency | Latency-10K | 1,024 | 5,985 | 358.6us | 1747.0us | 183.8% | 2.3GiB |
| Efficiency | Latency-1M | 1,024 | 78,237 | 9176405.1us | 18178048.0us | 5135.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.
| Entry | Composite | vs klite | |
|---|---|---|---|
| ktor-tuned | 2857 | +1573% | head to head |
| neton | 1480 | +766% | head to head |
| http4k | 1185 | +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