HttpArena
Frameworks

Rust web framework benchmarks

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

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

HTTP/1.1

FrameworkTypeCompositeRank overallRank among Rust
actixFlagship7102 of 711 of 5
trillium-tunedEmerging tuned7008 of 972 of 6
trilliumEmerging6016 of 712 of 5
mq-bridgeEmerging5629 of 713 of 5
sarkEngine3812 of 341 of 6
rust-epollEngine19410 of 342 of 6
tokioEngine19311 of 343 of 6
rocketFlagship17144 of 714 of 5
tokio-uringEngine16815 of 344 of 6
hyperEngine14819 of 345 of 6
axumFlagship12261 of 715 of 5
may-minihttpEngine10423 of 346 of 6

HTTP/2

FrameworkTypeCompositeRank overallRank among Rust
wtxEmerging2501 of 161 of 4
sarkEngine2302 of 61 of 2
actixFlagship2232 of 162 of 4
hyperEngine795 of 62 of 2
mq-bridgeEmerging787 of 163 of 4
trillium-tunedEmerging tuned4620 of 294 of 5
trilliumEmerging3013 of 164 of 4

HTTP/3

FrameworkTypeCompositeRank overallRank among Rust
trilliumEmerging185 of 61 of 2
trillium-tunedEmerging tuned312 of 122 of 2

Gateway

FrameworkTypeCompositeRank overallRank among Rust
trilliumEmerging1263 of 4

gRPC

FrameworkTypeCompositeRank overallRank among Rust
sarkEngine2943 of 3
wtxEmerging1273 of 51 of 2
trilliumEmerging924 of 52 of 2

WebSocket

FrameworkTypeCompositeRank overallRank among Rust
wtxEmerging2242 of 201 of 4
tokio-wsEngine1973 of 91 of 3
sarkEngine1914 of 92 of 3
tokio-uring-wsEngine1667 of 93 of 3
actixFlagship1465 of 202 of 4
mq-bridgeEmerging3715 of 203 of 4
trillium-tunedEmerging tuned2727 of 324 of 5
trilliumEmerging1718 of 204 of 4

Questions

What is the fastest Rust web framework?

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

What is the fastest Rust HTTP/2 server?

wtx, with a composite of 250 on HTTP/2 and 1 of 16 against all languages in its league.

What is the fastest Rust HTTP/3 server?

trillium, with a composite of 18 on HTTP/3 and 5 of 6 against all languages in its league.

What is the fastest Rust Gateway server?

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

What is the fastest Rust gRPC server?

sark, with a composite of 294 on gRPC and 3 of 3 against all languages in its league.

What is the fastest Rust WebSocket server?

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

How many Rust web frameworks are benchmarked?

15 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 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 15 entries.

Every Rust entry

Alpha Round · All languages · Open the leaderboard