kron
Engine · Kotlin · engine: io_uring
kron — edixoi on kron, the Kotlin port of the ioxide io_uring runtime, on its raw recv/send API and nothing above it, natively or on the JVM: the Dockerfile's KRON_RUNTIME build arg picks, the JVM at present. One reactor per core, each owning its ring and its share of the SO_REUSEPORT listeners; multishot accept and recv into provided buffer rings, the ring driven by hand from Kotlin over the kernel's own io_uring header (no liburing): natively through cinterop, one binary; on the JVM through the FFM API, as a jar on JDK 25. Handlers are Kotlin suspend functions that the reactor resumes inline on the thread that took the completion, with no dispatcher and no thread pool. The HTTP/1.1 handling (request line, query string, case-insensitive headers, Content-Length and chunked bodies, keep-alive, pipelining, reads fragmented across recv boundaries) is edixoi's, ported to Kotlin — no framework, no router. One handler answers on both doors: plaintext on :8080, and TLS on :8081 for json-tls and the 8gbit echo, terminated with BoringSSL (linked into the native binary, carried in the jar on the JVM), with kernel TX offload where the kernel has the tls module and BoringSSL receive. The async profile's wait is an IORING_OP_TIMEOUT on the reactor's ring, so a held connection costs a kernel deadline rather than a thread. Companion to edixoi (C#) and edixoi-kt (the JVM port), which serve the same profiles.
Achievements
🥇 1 Gold · 🥈 1 Silver. 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 | Test profile | Concurrency · Async Delay | 1 of 26 |
| 🥈 Silver | Within its language | Kotlin · HTTP/1.1 | 2 of 3 |
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 | 4 of 45 | 6634 |
Every result
Alpha Round, 7 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 | 4,196,052 | 976us | 1.23ms | 6202.6% | 1.5GiB |
| Connection | Short-lived | 4,096 | 2,702,918 | 1.37ms | 1.90ms | 5759.1% | 2.0GiB |
| Concurrency | Async Delay | 32,000 | 2,924,260 | 10.87ms | 12.90ms | 6195.8% | 2.8GiB |
| Efficiency | Latency-10K | 1,024 | 9,980 | 79.6us | 109.0us | 28.9% | 1.3GiB |
| Efficiency | Latency-1M | 1,024 | 997,411 | 91.3us | 152.0us | 2099.3% | 1.3GiB |
| Workload | JSON TLS | 4,096 | 1,800,864 | 1.28ms | 53.60ms | 5801.2% | 1.6GiB |
| Workload | 8Gbit | 512 | 49,330 | 100.4us | 120.0us | 190.9% | 3.4GiB |
Compared with
The Kotlin entries around kron on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs kron | |
|---|---|---|---|
| ktron | 7546 | +14% | head to head |
| edixoi-kt | 6774 | +2% | head to head |
| kron-native | 6434 | -3% | head to head |
| ktor-kronos | 5577 | -16% | head to head |
Compare kron with any Kotlin entry · Compare kron with any entry, in any language · Every Kotlin entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry