HttpArena
Frameworks

Java web framework benchmarks: performance comparison

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

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
cardiganEngine52547 of 39—
vertxFlagship513210 of 761 of 5
helidon-tunedFlagship tuned440822 of 972 of 7
micronautFlagship429418 of 762 of 5
helidon-productionFlagship421320 of 763 of 5
quarkus-jvmFlagship tuned367231 of 975 of 7
joobyFlagship244136 of 764 of 5
spring-bootFlagship175553 of 765 of 5

HTTP/2

FrameworkTypeCompositeRank overallRank among Java
cardiganEngine26642 of 14—
quarkus-jvmFlagship tuned20105 of 311 of 4
helidon-tunedFlagship tuned18027 of 312 of 4
helidon-productionFlagship16046 of 231 of 2
spring-bootFlagship7622 of 232 of 2

gRPC

FrameworkTypeCompositeRank overallRank among Java
cardiganEngine19482 of 3—
quarkus-jvmFlagship tuned13993 of 101 of 3
helidon-tunedFlagship tuned5785 of 102 of 3
helidon-productionFlagship5754 of 63 of 3

WebSocket

FrameworkTypeCompositeRank overallRank among Java
helidon-productionFlagship118411 of 231 of 2
helidon-tunedFlagship tuned117913 of 312 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 5254 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 7 of 39 in its own league.

What is the fastest Java web framework?

vertx, with a composite of 5132 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 14 against all languages in its league.

What is the fastest Java gRPC server?

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

What is the fastest Java WebSocket server?

helidon-production, with a composite of 1184 on WebSocket and 11 of 23 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 7 of 39 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 · Koru · Kotlin · Lua · Luau · Perl · PHP · Python · Ruby · Rust · Scala · Swift · TS · V · Zig

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