HttpArena

Java web framework benchmarks: performance comparison

The fastest Java web framework in HttpArena is vertx-graalvm, with a composite of 4363 on HTTP/1.1 — 10 of 88 against every language in its league. Measured over Alpha Round, every entry on the same machine. The leading Java HTTP engine is cardigan, 8 of 46 in its own league. The leading experimental Java framework is aegon-java, 15 of 32 in its own league.

Compare any two Java entries profile by profile →

Every Java entry in the benchmark, compared on the composite score of each family, one table per league. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 1,000, and scales the sum by the entry's completeness factor. Frameworks, engines, experimental entries and infrastructure are separate leagues: each is normalized against its own leader, and they do not all count the same profiles, so a composite compares with the others in its table and with nothing outside it. Rank in its league is the entry's place across all languages; rank among Java narrows the same field to this language. Both link through to the board view they were taken in. How the score works.

To set two entries from different leagues against each other, compare them head to head: that table lines up every test both of them ran.

Composite scores compare directly across every row of a table. Ranks do not always share a field: a tuned entry has no place in the standard-only ranking, so its rank is taken from the field that includes tuned entries and counts more of them.

HTTP/1.1

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
vertx-graalvmFlagship436310 of 881 of 8
vertxFlagship433711 of 882 of 8
micronaut-tunedFlagship tuned370624 of 1143 of 11
micronautFlagship297921 of 883 of 8
micronaut-productionFlagship283123 of 884 of 8
helidon-tunedFlagship tuned282838 of 1146 of 11
helidon-productionFlagship267327 of 885 of 8
quarkus-jvmFlagship tuned224249 of 1148 of 11
armeriaFlagship220134 of 886 of 8
joobyFlagship141353 of 887 of 8
spring-bootFlagship107870 of 888 of 8

Engines

EngineTypeCompositeRank in its leagueRank among Java
cardiganEngine53388 of 46—

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
aegon-javaExperimental408315 of 321 of 2
wastnetExperimental305021 of 322 of 2

HTTP/2

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
quarkus-jvmFlagship tuned130513 of 451 of 9
helidon-tunedFlagship tuned122414 of 452 of 9
micronaut-tunedFlagship tuned118015 of 453 of 9
micronaut-productionFlagship111712 of 341 of 6
helidon-productionFlagship103013 of 342 of 6
armeriaFlagship72416 of 343 of 6
vertx-graalvmFlagship43823 of 344 of 6
vertxFlagship41326 of 345 of 6
spring-bootFlagship5833 of 346 of 6

Engines

EngineTypeCompositeRank in its leagueRank among Java
cardiganEngine24515 of 18—

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
wastnetExperimental27316 of 181 of 2
aegon-javaExperimental18289 of 182 of 2

HTTP/3

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
micronaut-productionFlagship1617 of 171 of 2
micronaut-tunedFlagship tuned1022 of 222 of 2

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
aegon-javaExperimental10705 of 11—

gRPC

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
quarkus-jvmFlagship tuned7569 of 151 of 4
armeriaFlagship4928 of 101 of 2
helidon-tunedFlagship tuned31212 of 153 of 4
helidon-productionFlagship3119 of 102 of 2

Engines

EngineTypeCompositeRank in its leagueRank among Java
cardiganEngine18733 of 4—

WebSocket

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
micronaut-tunedFlagship tuned113921 of 411 of 5
helidon-productionFlagship102417 of 311 of 3
helidon-tunedFlagship tuned101823 of 413 of 5
armeriaFlagship101418 of 312 of 3
micronaut-productionFlagship79722 of 313 of 3

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
aegon-javaExperimental28754 of 231 of 2
wastnetExperimental173517 of 232 of 2

Database

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
vertxFlagship4296 of 81 of 2
vertx-graalvmFlagship4287 of 82 of 2

Questions

What is the fastest Java web framework?

vertx-graalvm leads the Java web frameworks in HttpArena with a composite score of 4363 on HTTP/1.1, measured over Alpha Round. The composite sums a normalized score across the profiles of a family, where the leader of each profile scores 1,000. Against every language, vertx-graalvm ranks 10 of 88 in its league.

What is the fastest Java HTTP engine?

cardigan leads the Java HTTP engines in HttpArena with a composite score of 5338 on HTTP/1.1, measured over Alpha Round. Against every language, cardigan ranks 8 of 46 in its league.

What is the fastest experimental Java framework?

aegon-java leads the experimental Java frameworks in HttpArena with a composite score of 4083 on HTTP/1.1, measured over Alpha Round. Against every language, aegon-java ranks 15 of 32 in its league.

Why are Java entries ranked in separate leagues?

HttpArena ranks web frameworks, HTTP engines, and experimental frameworks apart. Each league is normalized against its own leader, and the leagues do not all count the same profiles - engines are not scored on JSON Compressed, for one. A composite from one league is therefore not on the same scale as a composite from another, and the higher number across two leagues is not the faster server. To set two entries from different leagues against each other, use the Java head-to-head comparison, which lines up every test both of them ran.

What is the fastest Java HTTP/2 server?

Among web frameworks, quarkus-jvm (composite 1305, 13 of 45 in that league); among HTTP engines, cardigan (composite 2451, 5 of 18 in that league); among experimental frameworks, wastnet (composite 2731, 6 of 18 in that league). The leagues are scored separately, so those composites are not on one scale.

What is the fastest Java HTTP/3 server?

Among web frameworks, micronaut-production (composite 16, 17 of 17 in that league); among experimental frameworks, aegon-java (composite 1070, 5 of 11 in that league). The leagues are scored separately, so those composites are not on one scale.

What is the fastest Java gRPC server?

Among web frameworks, quarkus-jvm (composite 756, 9 of 15 in that league); among HTTP engines, cardigan (composite 1873, 3 of 4 in that league). The leagues are scored separately, so those composites are not on one scale.

What is the fastest Java WebSocket server?

Among web frameworks, micronaut-tuned (composite 1139, 21 of 41 in that league); among experimental frameworks, aegon-java (composite 2875, 4 of 23 in that league). The leagues are scored separately, so those composites are not on one scale.

What is the fastest Java database-backed server?

vertx, with a composite of 429 on Database and 6 of 8 against all languages in its league.

How many Java web frameworks are benchmarked?

14 Java entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, gRPC, WebSocket, Database. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.

Is Java fast for web servers?

The leading Java web framework, vertx-graalvm, places 10 of 88 on HTTP/1.1 across every language in its league, so that placing is the honest answer for Java at its best rather than for Java in general. The tables below show the spread across all 14 entries.

Every Java entry

Other languages

Assembly · C · C# · C++ · Clojure · D · Dart · Elixir · Erlang · F# · Go · Goose · Haskell · JS · Julia · Koru · Kotlin · Lua · Luau · Mojo · OCaml · Perl · PHP · Python · Ruby · Rust · Scala · Sober · Swift · TS · V · Valk · Zig

Results updated · Alpha Round · Compare two Java entries · All languages · Open the leaderboard