HttpArena
Frameworks

http4k

Flagship · Kotlin · engine: Undertow · standard configuration · completeness 4/4

http4k 6 on the Undertow backend, default configuration. Routing and path/query access through the http4k API, Jackson JSON, gzip through the http4k GZip server filter.

Achievements

🥈 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.

MedalAwardFieldRank
🥈 SilverWithin its languageKotlin · HTTP/1.12 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.

FamilyRankComposite
HTTP/1.142 of 711901

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096173,41020.50ms62.60ms1269.2%4.0GiB
ConnectionPipelined4,096441,225134.00ms393.80ms1224.1%8.8GiB
ConnectionShort-lived4,096181,32119.89ms98.30ms1532.8%6.2GiB
ConcurrencyAsync Delay32,000186,665101.41ms170.60ms1743.1%6.6GiB
EfficiencyLatency-10K1,0249,980101.2us130.0us63.7%1.3GiB
EfficiencyLatency-1M1,024203,9977799238.5us16273408.0us1327.3%2.9GiB
EfficiencyLatency-500K/81,024143,7037075541.1us14340096.0us792.0%1.3GiB
WorkloadJSON Comp4,096147,10324.56ms127.90ms5119.2%11.3GiB
WorkloadJSON Comp16,384151,44977.21ms398.10ms5344.9%11.2GiB
WorkloadJSON TLS4,096173,63064.19ms2.00s3331.1%8.5GiB
Workload8Gbit51249,325164.8us1334.0us546.8%3.4GiB

Compared with

The Kotlin entries around http4k on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs http4k
ktor-ghost2835+49%head to head
ktor2590+36%head to head
neton1339-30%head to head

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

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