HttpArena
Frameworks

Java web framework benchmarks: performance comparison

The fastest Java web framework in HttpArena is vertx, with a composite of 5324 on HTTP/1.1 — 6 of 71 against every language in its league. Measured over Alpha Round, every entry on the same machine.

Compare any two Java entries profile by profile →

Every Java entry in the benchmark, compared on the composite score of each family. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 100, and scales the sum by the entry's completeness factor. Rank overall is the entry's place in its own league 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.

Composite scores compare directly across every row. 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

FrameworkTypeCompositeRank overallRank among Java
vertxFlagship53246 of 711 of 5
cardiganEngine52944 of 26
micronautFlagship444311 of 712 of 5
quarkus-jvmFlagship tuned378822 of 933 of 7
helidon-tunedFlagship tuned376023 of 934 of 7
helidon-productionFlagship322623 of 713 of 5
joobyFlagship252328 of 714 of 5
spring-bootFlagship179945 of 715 of 5

HTTP/2

FrameworkTypeCompositeRank overallRank among Java
cardiganEngine26642 of 7
quarkus-jvmFlagship tuned19754 of 281 of 4
helidon-tunedFlagship tuned14377 of 282 of 4
helidon-productionFlagship10965 of 181 of 2
spring-bootFlagship7617 of 182 of 2

gRPC

FrameworkTypeCompositeRank overallRank among Java
cardiganEngine19782 of 2
quarkus-jvmFlagship tuned13992 of 81 of 3
helidon-productionFlagship5593 of 42 of 3
helidon-tunedFlagship tuned5535 of 83 of 3

WebSocket

FrameworkTypeCompositeRank overallRank among Java
helidon-productionFlagship12005 of 151 of 2
helidon-tunedFlagship tuned11849 of 252 of 2

Questions

What is the fastest Java web framework?

vertx leads the Java entries in HttpArena with a composite score of 5324 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 100. Against every language, vertx ranks 6 of 71 in its own league.

What is the fastest Java HTTP/2 server?

cardigan, with a composite of 2664 on HTTP/2 and 2 of 7 against all languages in its league.

What is the fastest Java gRPC server?

cardigan, with a composite of 1978 on gRPC and 2 of 2 against all languages in its league.

What is the fastest Java WebSocket server?

helidon-production, with a composite of 1200 on WebSocket and 5 of 15 against all languages in its league.

How many Java web frameworks are benchmarked?

8 Java entries are measured, covering HTTP/1.1, HTTP/2, 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 quickest Java entry, vertx, places 6 of 71 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 8 entries.

Every Java entry

Other languages

C · C# · C++ · Clojure · D · Dart · Elixir · Erlang · F# · Go · Haskell · JS · Julia · Kotlin · Lua · Luau · Perl · PHP · Python · Ruby · Rust · Scala · Swift · TS · Zig

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