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
| Framework | Type | Composite | Rank overall | Rank among Java |
|---|---|---|---|---|
| vertx | Flagship | 5324 | 6 of 71 | 1 of 5 |
| cardigan | Engine | 5294 | 4 of 26 | — |
| micronaut | Flagship | 4443 | 11 of 71 | 2 of 5 |
| quarkus-jvm | Flagship tuned | 3788 | 22 of 93 | 3 of 7 |
| helidon-tuned | Flagship tuned | 3760 | 23 of 93 | 4 of 7 |
| helidon-production | Flagship | 3226 | 23 of 71 | 3 of 5 |
| jooby | Flagship | 2523 | 28 of 71 | 4 of 5 |
| spring-boot | Flagship | 1799 | 45 of 71 | 5 of 5 |
HTTP/2
| Framework | Type | Composite | Rank overall | Rank among Java |
|---|---|---|---|---|
| cardigan | Engine | 2664 | 2 of 7 | — |
| quarkus-jvm | Flagship tuned | 1975 | 4 of 28 | 1 of 4 |
| helidon-tuned | Flagship tuned | 1437 | 7 of 28 | 2 of 4 |
| helidon-production | Flagship | 1096 | 5 of 18 | 1 of 2 |
| spring-boot | Flagship | 76 | 17 of 18 | 2 of 2 |
gRPC
| Framework | Type | Composite | Rank overall | Rank among Java |
|---|---|---|---|---|
| cardigan | Engine | 1978 | 2 of 2 | — |
| quarkus-jvm | Flagship tuned | 1399 | 2 of 8 | 1 of 3 |
| helidon-production | Flagship | 559 | 3 of 4 | 2 of 3 |
| helidon-tuned | Flagship tuned | 553 | 5 of 8 | 3 of 3 |
WebSocket
| Framework | Type | Composite | Rank overall | Rank among Java |
|---|---|---|---|---|
| helidon-production | Flagship | 1200 | 5 of 15 | 1 of 2 |
| helidon-tuned | Flagship tuned | 1184 | 9 of 25 | 2 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