HttpArena
Frameworks

Rust web framework benchmarks: performance comparison

The fastest Rust web framework in HttpArena is actix, with a composite of 6799 on HTTP/1.1 — 2 of 72 against every language in its league. Measured over Alpha Round, every entry on the same machine.

Compare any two Rust entries profile by profile →

Every Rust 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 Rust 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.

sark has no published rank in any family yet, so it is listed below the tables only.

HTTP/1.1

FrameworkTypeCompositeRank overallRank among Rust
actixFlagship67992 of 721 of 7
ntexFlagship58965 of 722 of 7
tokioEngine47387 of 341 of 3
mq-bridgeEmerging45639 of 723 of 7
axumFlagship450810 of 724 of 7
tokio-uringEngine346214 of 342 of 3
hyperEngine334515 of 343 of 3
trilliumEmerging320326 of 725 of 7
trillium-tunedEmerging tuned311439 of 916 of 8
rocketFlagship307229 of 726 of 7
salvoFlagship244335 of 727 of 7

HTTP/2

FrameworkTypeCompositeRank overallRank among Rust
wtxEmerging18213 of 201 of 4
actixFlagship16344 of 202 of 4
trillium-tunedEmerging tuned103610 of 283 of 5
trilliumEmerging75010 of 203 of 4
hyperEngine6646 of 12—
mq-bridgeEmerging51716 of 204 of 4

HTTP/3

FrameworkTypeCompositeRank overallRank among Rust
trillium-tunedEmerging tuned9084 of 141 of 2
trilliumEmerging8813 of 112 of 2

Gateway

FrameworkTypeCompositeRank overallRank among Rust
trilliumEmerging12153 of 41 of 2
trillium-tunedEmerging tuned11914 of 52 of 2

gRPC

FrameworkTypeCompositeRank overallRank among Rust
wtxEmerging20001 of 41 of 2
trillium-tunedEmerging tuned3897 of 82 of 3
trilliumEmerging3774 of 42 of 2

WebSocket

FrameworkTypeCompositeRank overallRank among Rust
wtxEmerging24482 of 201 of 4
tokio-websocketsEngine22563 of 161 of 3
tokio-wsEngine19865 of 162 of 3
actixFlagship17765 of 202 of 4
tokio-uring-wsEngine16818 of 163 of 3
trillium-tunedEmerging tuned80515 of 273 of 5
mq-bridgeEmerging42716 of 203 of 4
trilliumEmerging39117 of 204 of 4

Questions

What is the fastest Rust web framework?

actix leads the Rust entries in HttpArena with a composite score of 6799 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, actix ranks 2 of 72 in its own league.

What is the fastest Rust HTTP/2 server?

wtx, with a composite of 1821 on HTTP/2 and 3 of 20 against all languages in its league.

What is the fastest Rust HTTP/3 server?

trillium-tuned, with a composite of 908 on HTTP/3 and 4 of 14 against all languages in its league.

What is the fastest Rust Gateway server?

trillium, with a composite of 1215 on Gateway and 3 of 4 against all languages in its league.

What is the fastest Rust gRPC server?

wtx, with a composite of 2000 on gRPC and 1 of 4 against all languages in its league.

What is the fastest Rust WebSocket server?

wtx, with a composite of 2448 on WebSocket and 2 of 20 against all languages in its league.

How many Rust web frameworks are benchmarked?

16 Rust entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, Gateway, gRPC, WebSocket. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.

Is Rust fast for web servers?

The quickest Rust entry, actix, places 2 of 72 on HTTP/1.1 across every language in its league, so that placing is the honest answer for Rust at its best rather than for Rust in general. The tables below show the spread across all 16 entries.

Every Rust entry

Other languages

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

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