HttpArena
Frameworks

micronaut-production

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

Micronaut on the Netty HTTP server, default configuration, running on the JVM and not on native-image. Routing, injection and argument binding are generated at compile time, JSON goes through Micronaut Serialization, gzip through the Netty server compression the framework enables by itself.

Achievements

🥇 2 Gold · 🥉 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 4
🥇 GoldTest profileEfficiency · Latency-10K1 of 85
🥉 BronzeWithin its languageJava · HTTP/1.13 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.123 of 854054
HTTP/210 of 311392
HTTP/316 of 1625
WebSocket21 of 30848

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,0961,407,1792.91ms5.96ms6508.1%7.3GiB
ConnectionPipelined4,0966,131,29210.75ms24.00ms5970.7%15.1GiB
ConnectionShort-lived4,096590,6216.88ms69.90ms4179.1%7.2GiB
ConcurrencyAsync Delay32,0001,251,62625.30ms41.40ms5587.1%14.2GiB
EfficiencyLatency-10K1,0249,98384.7us123.0us45.0%548MiB
EfficiencyLatency-1M1,024998,202213.1us1734.0us4682.7%3.3GiB
EfficiencyLatency-500K/81,024249,5105000556.8us9859072.0us775.0%650MiB
WorkloadJSON Comp4,096279,41714.66ms39.20ms6226.0%2.7GiB
WorkloadJSON Comp16,384275,58959.00ms119.60ms6247.2%5.0GiB
WorkloadJSON TLS4,096723,0506.03ms214.15ms6240.7%5.5GiB
Workload8Gbit51249,351129.3us313.0us348.4%978MiB
WorkloadStatic TLS1,024250,7714.56ms51.92ms6264.4%6.0GiB
DatabaseAsync DB1,024143,0596.62ms10.10ms4157.2%7.0GiB
DatabaseFortunes1,02487,08310.56ms18.20ms5874.5%7.2GiB
HTTP/2Baseline2563,176,9788.13ms81.14ms6041.3%13.2GiB
HTTP/2Baseline1,0243,198,19830.03ms140.08ms5996.6%10.4GiB
HTTP/2Static256217,95437.12ms189.04ms6201.9%6.6GiB
HTTP/2Static1,024215,985147.39ms488.33ms6138.2%14.7GiB
HTTP/2Baseline (h2c)2563,136,5838.04ms46.64ms5919.9%8.7GiB
HTTP/2Baseline (h2c)1,0243,363,09929.09ms148.08ms6027.5%15.1GiB
HTTP/2Baseline (h2c)4,0963,223,905119.48ms465.27ms6094.8%14.1GiB
HTTP/2JSON (h2c)1,0241,309,19124.30ms103.00ms6041.7%7.1GiB
HTTP/2JSON (h2c)4,0961,323,11295.24ms294.31ms6157.0%14.0GiB
HTTP/3Baseline6443,25272.00ms451.60ms103.0%868MiB
HTTP/3Static644,728398.00ms3.05s130.0%571MiB
WebSocketEcho5122,012,718253us3.08ms4901.5%1.8GiB
WebSocketEcho4,0962,299,9561.77ms5.59ms6133.5%3.7GiB
WebSocketEcho16,3842,112,6977.47ms17.00ms5969.4%5.1GiB
WebSocketEcho Pipelined5123,478,7542.35ms5.25ms6441.2%7.1GiB
WebSocketEcho Pipelined4,0963,603,36517.89ms36.00ms6439.4%6.9GiB
WebSocketEcho Pipelined16,3843,284,29975.79ms132.60ms5881.0%7.3GiB
WebSocketEcho Short-lived512601,02261us147us3705.8%2.6GiB
WebSocketEcho Short-lived4,096589,38963us154us3506.9%1.4GiB

Compared with

The Java web frameworks around micronaut-production 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.

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

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