HttpArena
Frameworks

Rust web framework benchmarks: performance comparison

The fastest Rust web framework in HttpArena is actix, with a composite of 6880 on HTTP/1.1 — 1 of 71 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
actixFlagship68801 of 711 of 7
ntexFlagship59564 of 712 of 7
tokioEngine47386 of 261 of 3
mq-bridgeEmerging46107 of 713 of 7
axumFlagship44948 of 714 of 7
tokio-uringEngine346213 of 262 of 3
hyperEngine334515 of 263 of 3
trilliumEmerging326120 of 715 of 7
trillium-tunedEmerging tuned319736 of 936 of 8
rocketFlagship311224 of 716 of 7
salvoFlagship248029 of 717 of 7

HTTP/2

FrameworkTypeCompositeRank overallRank among Rust
wtxEmerging17992 of 181 of 4
actixFlagship16083 of 182 of 4
trillium-tunedEmerging tuned102310 of 283 of 5
trilliumEmerging7349 of 183 of 4
hyperEngine6646 of 7
mq-bridgeEmerging51411 of 184 of 4

HTTP/3

FrameworkTypeCompositeRank overallRank among Rust
trillium-tunedEmerging tuned9344 of 111 of 2
trilliumEmerging8553 of 72 of 2

Gateway

FrameworkTypeCompositeRank overallRank among Rust
trilliumEmerging12383 of 41 of 2
trillium-tunedEmerging tuned12334 of 52 of 2

gRPC

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

WebSocket

FrameworkTypeCompositeRank overallRank among Rust
wtxEmerging24482 of 151 of 4
tokio-websocketsEngine22562 of 91 of 3
tokio-wsEngine19864 of 92 of 3
actixFlagship17763 of 152 of 4
tokio-uring-wsEngine16817 of 93 of 3
trillium-tunedEmerging tuned79113 of 253 of 5
mq-bridgeEmerging42711 of 153 of 4
trilliumEmerging39712 of 154 of 4

Questions

What is the fastest Rust web framework?

actix leads the Rust entries in HttpArena with a composite score of 6880 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 1 of 71 in its own league.

What is the fastest Rust HTTP/2 server?

wtx, with a composite of 1799 on HTTP/2 and 2 of 18 against all languages in its league.

What is the fastest Rust HTTP/3 server?

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

What is the fastest Rust Gateway server?

trillium, with a composite of 1238 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 15 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 1 of 71 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