HttpArena
Frameworks

micronaut-tuned

Flagship · Java · engine: netty · tuned configuration · completeness 4/4

Micronaut on the Netty HTTP server with the io_uring native transport (epoll or NIO when the kernel does not allow it), no idle handler, request header and URL validation off, Netty bounds and leak checks off and Parallel GC. Routing, injection and argument binding are still generated at compile time, JSON goes through Micronaut Serialization and gzip through the framework compression.

Achievements

🥇 1 Gold · 🥈 1 Silver · 🥉 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
🥇 GoldWithin its languageJava · WebSocket1 of 5
🥈 SilverWithin its languageJava · HTTP/1.12 of 10
🥉 BronzeWithin its languageJava · HTTP/23 of 7

Composite rank

Each profile of a family is worth 1,000 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.121 of 1095148
HTTP/214 of 411453
HTTP/320 of 2016
WebSocket19 of 391221

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0962,347,8691.75ms4.76ms6017.5%2.1GiB
ConnectionPipelined4,0969,413,5586.99ms13.60ms6138.3%9.7GiB
ConnectionShort-lived4,096801,1635.09ms52.20ms3951.3%1.1GiB
ConcurrencyAsync Delay32,0001,925,22816.51ms28.60ms6257.2%11.0GiB
EfficiencyLatency-10K1,0249,98085.1us121.0us38.1%465MiB
EfficiencyLatency-1M1,024997,463170.5us1240.0us3805.5%917MiB
EfficiencyLatency-500K/81,024369,7442595071.1us5109760.0us785.2%376MiB
WorkloadJSON Comp4,096328,59912.41ms159.50ms6039.5%1.7GiB
WorkloadJSON Comp16,384329,20149.08ms384.60ms5914.6%4.5GiB
WorkloadJSON TLS4,0961,035,6374.23ms175.80ms6256.5%6.0GiB
Workload8Gbit51249,298112.8us162.0us293.7%623MiB
WorkloadStatic TLS1,024283,3134.15ms92.21ms6299.7%4.2GiB
DatabaseAsync DB1,024189,4244.91ms7.61ms4349.9%2.6GiB
DatabaseFortunes1,024139,9085.92ms9.97ms5929.0%4.9GiB
HTTP/2Baseline2564,187,1175.94ms34.02ms6332.4%10.6GiB
HTTP/2Baseline1,0244,124,95023.04ms104.79ms6253.2%10.7GiB
HTTP/2Static256255,06131.75ms213.51ms6060.6%7.7GiB
HTTP/2Static1,024241,959131.09ms600.58ms6180.1%11.4GiB
HTTP/2Baseline (h2c)2563,971,6326.33ms183.56ms6297.9%10.6GiB
HTTP/2Baseline (h2c)1,0243,258,45831.47ms276.90ms6309.3%10.8GiB
HTTP/2Baseline (h2c)4,0962,602,895148.69ms1.05s5567.6%13.3GiB
HTTP/2JSON (h2c)1,0241,234,84427.33ms1.16s6331.1%10.9GiB
HTTP/2JSON (h2c)4,0961,082,09934.32ms5.00s6142.0%12.7GiB
HTTP/3Baseline6429,184103.70ms127.81ms103.2%578MiB
HTTP/3Static642,8561.19s3.97s118.9%682MiB
WebSocketEcho5122,787,632183us305us6550.8%1.1GiB
WebSocketEcho4,0963,000,2621.35ms4.39ms6001.1%2.0GiB
WebSocketEcho16,3842,755,0935.71ms12.50ms5825.4%5.1GiB
WebSocketEcho Pipelined5129,204,608889us1.70ms6515.1%3.9GiB
WebSocketEcho Pipelined4,0969,290,6716.86ms17.60ms6325.0%10.6GiB
WebSocketEcho Pipelined16,3848,813,44127.07ms58.40ms5875.6%11.0GiB
WebSocketEcho Short-lived512787,43788us415us3820.4%695MiB
WebSocketEcho Short-lived4,096841,849105us677us3928.7%874MiB

Compared with

The Java web frameworks around micronaut-tuned 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 micronaut-tuned
vertx5354+4%head to head
micronaut4254-17%head to head
helidon-tuned4072-21%head to head

Compare micronaut-tuned with any Java entry · Compare micronaut-tuned with any entry, in any language · Every Java entry, ranked

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