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 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 | 82 of 84 | 257 |
Every result
Alpha Round, 9 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 |
| Efficiency | Latency-500K/8 | 1,024 | 20,555 | 9504028.9us | 18866176.0us | 748.6% | 6.4GiB |
| Database | Async DB | 1,024 | 30,727 | 31.85ms | 77.90ms | 5171.3% | 19.6GiB |
| Database | Fortunes | 1,024 | 56,511 | 17.36ms | 73.80ms | 5927.7% | 16.7GiB |
Compared with
The Kotlin entries around klite on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs klite | |
|---|---|---|---|
| ktron | 7546 | +2834% | head to head |
| neton | 2308 | +798% | head to head |
| http4k | 1787 | +595% | 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