HttpArena

http-kit

Engine · Clojure

Minimal http-kit engine benchmark with HTTP/1.1 and native WebSocket echo support.

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.144 of 46462
WebSocket19 of 20141

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096155,0165.26ms4.95ms641.7%4.9GiB
ConnectionPipelined4,096311,82158.95ms110.90ms801.7%1.9GiB
ConnectionShort-lived4,096115,7863.36ms3.60ms412.6%1.6GiB
ConcurrencyAsync Delay32,00076,908184.74ms185.40ms308.5%748MiB
EfficiencyLatency-10K1,0249,88186.6us114.0us42.4%420MiB
EfficiencyLatency-1M1,024146,1047635646.7us16289792.0us466.9%814MiB
WorkloadJSON Comp4,09646,66341.57ms78.50ms6438.5%5.2GiB
WorkloadJSON Comp16,38446,60380.09ms150.50ms6555.5%6.8GiB
WebSocketEcho512244,8291.92ms2.35ms448.1%367MiB
WebSocketEcho4,096210,6224.53ms5.24ms514.7%350MiB
WebSocketEcho16,384208,7589.20ms12.40ms633.0%360MiB
WebSocketEcho Pipelined5122,260,5783.62ms4.17ms918.9%1.7GiB
WebSocketEcho Pipelined4,0962,259,9429.16ms15.90ms992.8%1.7GiB
WebSocketEcho Pipelined16,3842,277,59012.61ms15.90ms936.1%684MiB
WebSocketEcho Short-lived512132,733965us1.84ms450.6%502MiB
WebSocketEcho Short-lived4,096131,716779us1.66ms421.8%500MiB

Compared with

The Clojure HTTP engines around http-kit 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 http-kit
Enso2766+499%head to head
hirundo953+106%head to head
pedestal864+87%head to head
capra354-23%head to head

Compare http-kit with any Clojure entry · Compare http-kit with any entry, in any language · Every Clojure entry, ranked

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