HttpArena
Frameworks

aleph

Engine · Clojure · engine: netty

Minimal Aleph HTTP engine benchmark with HTTP/1.1, TLS, HTTP/2, H2C, and WebSocket support.

Achievements

🥉 1 Bronze. 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
🥉 BronzeWithin its languageClojure · HTTP/1.13 of 8

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.124 of 341402
HTTP/211 of 1240
WebSocket14 of 16145

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096246,7316.89ms71.80ms6348.4%2.1GiB
ConnectionPipelined4,096328,863108.98ms488.10ms6441.6%2.3GiB
ConnectionShort-lived4,096182,7295.70ms62.10ms6094.9%1.9GiB
ConcurrencyAsync Delay32,000165,989120.03ms295.30ms2036.7%2.2GiB
EfficiencyLatency-10K1,0249,982101.3us135.0us69.7%1.2GiB
EfficiencyLatency-1M1,024416,1515822728.3us11939840.0us6456.0%4.9GiB
EfficiencyLatency-500K/81,024156,3916943123.8us13635584.0us790.1%1.8GiB
WorkloadJSON Comp4,09646,74042.86ms425.40ms6351.1%5.4GiB
WorkloadJSON Comp16,38447,66186.77ms1.01s6140.6%5.4GiB
WorkloadJSON TLS4,09682,93347.33ms1.35s6457.7%5.5GiB
Workload8Gbit51249,285160.3us330.0us582.1%2.3GiB
WorkloadStatic TLS1,02421,21950.41ms347.03ms6424.5%6.9GiB
HTTP/2Baseline256226,831108.57ms1.79s6421.5%5.5GiB
HTTP/2Baseline1,024141,135574.27ms2.93s6237.2%5.0GiB
HTTP/2Static25623,277346.25ms1.20s6404.4%8.8GiB
HTTP/2Static1,02423,7481.38s3.89s6329.7%25.7GiB
HTTP/2Baseline (h2c)256243,705102.47ms1.74s6453.5%5.2GiB
HTTP/2Baseline (h2c)1,024169,524566.08ms4.29s4089.9%5.6GiB
HTTP/2Baseline (h2c)4,096145,7641.46s4.41s6151.6%5.6GiB
HTTP/2JSON (h2c)1,02483,414305.69ms2.84s6345.1%14.8GiB
HTTP/2JSON (h2c)4,09658,3081.12s3.98s6245.0%14.9GiB
WebSocketEcho512286,1101.79ms5.84ms6444.0%1.9GiB
WebSocketEcho4,096251,8794.45ms16.20ms6339.6%2.1GiB
WebSocketEcho16,384233,2817.57ms144.10ms6474.5%1.8GiB
WebSocketEcho Pipelined512330,07324.68ms40.20ms6437.1%1.8GiB
WebSocketEcho Pipelined4,096324,65944.66ms394.90ms6454.8%1.7GiB
WebSocketEcho Pipelined16,384321,25184.76ms734.50ms6228.4%1.9GiB
WebSocketEcho Short-lived512198,6301.66ms6.52ms6256.8%1.9GiB
WebSocketEcho Short-lived4,096192,1271.81ms10.00ms6044.3%1.7GiB

Compared with

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

EntryCompositevs aleph
ring-http-exchange3649+160%head to head
ring-jetty9-adapter1667+19%head to head
ring-jetty-adapter1614+15%head to head
hirundo1268-10%head to head
pedestal1146-18%head to head

Compare aleph with any Clojure entry · Compare aleph with any entry, in any language · Every Clojure entry, ranked

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