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
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| actix | Flagship | 710 | 2 of 71 | 1 of 5 |
| trillium-tuned | Emerging tuned | 700 | 8 of 97 | 2 of 6 |
| trillium | Emerging | 601 | 6 of 71 | 2 of 5 |
| mq-bridge | Emerging | 562 | 9 of 71 | 3 of 5 |
| sark | Engine | 381 | 2 of 34 | 1 of 6 |
| rust-epoll | Engine | 194 | 10 of 34 | 2 of 6 |
| tokio | Engine | 193 | 11 of 34 | 3 of 6 |
| rocket | Flagship | 171 | 44 of 71 | 4 of 5 |
| tokio-uring | Engine | 168 | 15 of 34 | 4 of 6 |
| hyper | Engine | 148 | 19 of 34 | 5 of 6 |
| axum | Flagship | 122 | 61 of 71 | 5 of 5 |
| may-minihttp | Engine | 104 | 23 of 34 | 6 of 6 |
HTTP/2
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| wtx | Emerging | 250 | 1 of 16 | 1 of 4 |
| sark | Engine | 230 | 2 of 6 | 1 of 2 |
| actix | Flagship | 223 | 2 of 16 | 2 of 4 |
| hyper | Engine | 79 | 5 of 6 | 2 of 2 |
| mq-bridge | Emerging | 78 | 7 of 16 | 3 of 4 |
| trillium-tuned | Emerging tuned | 46 | 20 of 29 | 4 of 5 |
| trillium | Emerging | 30 | 13 of 16 | 4 of 4 |
HTTP/3
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| trillium | Emerging | 18 | 5 of 6 | 1 of 2 |
| trillium-tuned | Emerging tuned | 3 | 12 of 12 | 2 of 2 |
Gateway
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| trillium | Emerging | 126 | 3 of 4 | — |
gRPC
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| sark | Engine | 294 | 3 of 3 | — |
| wtx | Emerging | 127 | 3 of 5 | 1 of 2 |
| trillium | Emerging | 92 | 4 of 5 | 2 of 2 |
WebSocket
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| wtx | Emerging | 224 | 2 of 20 | 1 of 4 |
| tokio-ws | Engine | 197 | 3 of 9 | 1 of 3 |
| sark | Engine | 191 | 4 of 9 | 2 of 3 |
| tokio-uring-ws | Engine | 166 | 7 of 9 | 3 of 3 |
| actix | Flagship | 146 | 5 of 20 | 2 of 4 |
| mq-bridge | Emerging | 37 | 15 of 20 | 3 of 4 |
| trillium-tuned | Emerging tuned | 27 | 27 of 32 | 4 of 5 |
| trillium | Emerging | 17 | 18 of 20 | 4 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
- actix
- axum
- hyper
- may-minihttp
- mq-bridge
- rocket
- rust-epoll
- sark
- tokio
- tokio-uring
- tokio-uring-ws
- tokio-ws
- trillium
- trillium-tuned
- wtx
Alpha Round · All languages · Open the leaderboard