HttpArena
Frameworks

Java web framework benchmarks: performance comparison

The fastest Java web framework in HttpArena is vertx, with a composite of 5354 on HTTP/1.1 — 11 of 85 against every language in its league. Measured over Alpha Round, every entry on the same machine. The leading Java HTTP engine is cardigan, 9 of 46 in its own league. The leading experimental Java framework is aegon-java, 10 of 30 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
vertxFlagship535411 of 851 of 7
micronaut-tunedFlagship tuned514821 of 1092 of 10
micronautFlagship425416 of 852 of 7
helidon-tunedFlagship tuned407233 of 1094 of 10
micronaut-productionFlagship405423 of 853 of 7
helidon-productionFlagship389324 of 854 of 7
quarkus-jvmFlagship tuned341041 of 1097 of 10
armeriaFlagship302034 of 855 of 7
joobyFlagship221447 of 856 of 7
spring-bootFlagship167561 of 857 of 7

Engines

EngineTypeCompositeRank in its leagueRank among Java
cardiganEngine61789 of 46—

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
aegon-javaExperimental561610 of 301 of 2
wastnetExperimental441318 of 302 of 2

HTTP/2

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
quarkus-jvmFlagship tuned161710 of 411 of 7
helidon-tunedFlagship tuned149813 of 412 of 7
micronaut-tunedFlagship tuned145314 of 413 of 7
micronaut-productionFlagship139210 of 311 of 4
helidon-productionFlagship130011 of 312 of 4
armeriaFlagship93912 of 313 of 4
spring-bootFlagship6430 of 314 of 4

Engines

EngineTypeCompositeRank in its leagueRank among Java
cardiganEngine24514 of 17—

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
wastnetExperimental29124 of 161 of 2
aegon-javaExperimental19447 of 162 of 2

HTTP/3

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
micronaut-productionFlagship2516 of 161 of 2
micronaut-tunedFlagship tuned1620 of 202 of 2

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
aegon-javaExperimental12204 of 10—

gRPC

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
quarkus-jvmFlagship tuned8168 of 141 of 4
armeriaFlagship5318 of 101 of 2
helidon-tunedFlagship tuned33711 of 143 of 4
helidon-productionFlagship3359 of 102 of 2

Engines

EngineTypeCompositeRank in its leagueRank among Java
cardiganEngine18733 of 4—

WebSocket

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
micronaut-tunedFlagship tuned122119 of 391 of 5
helidon-productionFlagship111316 of 301 of 3
helidon-tunedFlagship tuned110721 of 393 of 5
armeriaFlagship108017 of 302 of 3
micronaut-productionFlagship84821 of 303 of 3

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Java
aegon-javaExperimental29304 of 231 of 2
wastnetExperimental175117 of 232 of 2

Questions

What is the fastest Java web framework?

vertx leads the Java web frameworks in HttpArena with a composite score of 5354 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 ranks 11 of 85 in its league.

What is the fastest Java HTTP engine?

cardigan leads the Java HTTP engines in HttpArena with a composite score of 6178 on HTTP/1.1, measured over Alpha Round. Against every language, cardigan ranks 9 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 5616 on HTTP/1.1, measured over Alpha Round. Against every language, aegon-java ranks 10 of 30 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 1617, 10 of 41 in that league); among HTTP engines, cardigan (composite 2451, 4 of 17 in that league); among experimental frameworks, wastnet (composite 2912, 4 of 16 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 25, 16 of 16 in that league); among experimental frameworks, aegon-java (composite 1220, 4 of 10 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 816, 8 of 14 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 1221, 19 of 39 in that league); among experimental frameworks, aegon-java (composite 2930, 4 of 23 in that league). The leagues are scored separately, so those composites are not on one scale.

How many Java web frameworks are benchmarked?

13 Java entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, gRPC, WebSocket. 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, places 11 of 85 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 13 entries.

Every Java entry

Other languages

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