HttpArena
Frameworks

Java web framework benchmarks: performance comparison

The fastest Java HTTP server in HttpArena is cardigan (an HTTP engine), with a composite of 5294 on HTTP/1.1 — 5 of 34 against every language in its league. Measured over Alpha Round, every entry on the same machine. The quickest Java framework is vertx, at 5257.

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
cardiganEngine52945 of 34—
vertxFlagship52577 of 721 of 5
micronautFlagship438913 of 722 of 5
quarkus-jvmFlagship tuned374125 of 913 of 7
helidon-tunedFlagship tuned372126 of 914 of 7
helidon-productionFlagship318427 of 723 of 5
joobyFlagship248933 of 724 of 5
spring-bootFlagship177749 of 725 of 5

HTTP/2

FrameworkTypeCompositeRank overallRank among Java
cardiganEngine26642 of 12—
quarkus-jvmFlagship tuned20104 of 281 of 4
helidon-tunedFlagship tuned14577 of 282 of 4
helidon-productionFlagship11166 of 201 of 2
spring-bootFlagship7619 of 202 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-productionFlagship12009 of 201 of 2
helidon-tunedFlagship tuned118411 of 272 of 2

Questions

What is the fastest Java HTTP server?

cardigan, an HTTP engine, leads the Java entries in HttpArena with a composite score of 5294 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, cardigan ranks 5 of 34 in its own league.

What is the fastest Java web framework?

vertx, with a composite of 5257 on HTTP/1.1. cardigan scores higher but is an HTTP engine, not a framework, and is ranked in its own league.

What is the fastest Java HTTP/2 server?

cardigan, with a composite of 2664 on HTTP/2 and 2 of 12 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 9 of 20 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, cardigan, places 5 of 34 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