HttpArena
Frameworks

micronaut-tuned

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

Micronaut 5.2 on the Netty HTTP server with the epoll native transport, 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 · HTTP/21 of 6
🥈 SilverWithin its languageJava · HTTP/1.12 of 9
🥉 BronzeWithin its languageJava · WebSocket3 of 4

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.116 of 1015368
HTTP/26 of 341815
WebSocket18 of 341066

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,0962,125,1201.93ms4.75ms6504.5%1.8GiB
ConnectionPipelined4,0969,740,3746.75ms12.30ms6228.4%3.7GiB
ConnectionShort-lived4,096626,6336.50ms65.80ms3364.7%698MiB
ConcurrencyAsync Delay32,0001,915,51616.56ms28.30ms6167.2%11.0GiB
EfficiencyLatency-10K1,0249,97884.5us118.0us42.2%347MiB
EfficiencyLatency-1M1,024997,628154.3us1038.0us3449.2%835MiB
EfficiencyLatency-500K/81,024337,1223239767.4us6404096.0us782.1%357MiB
WorkloadJSON Comp4,096311,86013.13ms34.60ms6236.7%1.7GiB
WorkloadJSON Comp16,384307,50952.73ms120.10ms5843.2%3.4GiB
WorkloadJSON TLS4,096953,3284.57ms161.10ms6484.5%5.7GiB
Workload8Gbit51249,343112.7us159.0us287.7%870MiB
WorkloadStatic TLS1,024266,9054.39ms65.75ms6339.2%3.3GiB
HTTP/2Baseline2564,455,4676.03ms36.08ms6316.6%8.3GiB
HTTP/2Baseline1,0244,495,92821.71ms109.66ms6309.1%10.6GiB
HTTP/2Static256235,68934.38ms178.19ms6337.2%7.6GiB
HTTP/2Static1,024229,802139.13ms484.60ms6131.0%11.0GiB
HTTP/2Baseline (h2c)2564,559,3675.82ms38.87ms6283.8%7.8GiB
HTTP/2Baseline (h2c)1,0244,661,04921.16ms83.71ms6323.2%10.4GiB
HTTP/2Baseline (h2c)4,0964,428,44486.57ms346.59ms6099.5%10.6GiB
HTTP/2JSON (h2c)1,0241,612,48919.78ms98.08ms6270.8%4.3GiB
HTTP/2JSON (h2c)4,0961,628,85378.15ms342.41ms6042.5%10.5GiB
WebSocketEcho5122,985,978170us328us6483.5%977MiB
WebSocketEcho4,0962,824,1721.45ms3.94ms6290.3%1.3GiB
WebSocketEcho16,3842,649,5146.02ms12.30ms5981.7%3.6GiB
WebSocketEcho Pipelined5123,776,1682.17ms4.29ms6449.7%1.2GiB
WebSocketEcho Pipelined4,0963,822,72917.03ms31.20ms6349.8%2.2GiB
WebSocketEcho Pipelined16,3843,427,68865.60ms101.90ms5336.1%5.7GiB
WebSocketEcho Short-lived512652,02454us127us3296.5%590MiB
WebSocketEcho Short-lived4,096654,65257us155us3347.7%950MiB

Compared with

The Java entries around micronaut-tuned on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs micronaut-tuned
vertx5493+2%head to head
cardigan5248-2%head to head
micronaut-production4699-12%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