Implementation

Axum (A/A control)

Axum 0.8.9 · Rust · Rust · A/A control, unranked

frameworks/axum-control on GitHub

Scores

Score relative to Axum (1.00×, higher is better) and position among the 14 ranked implementations; Stability: pass.
CategoryPositionScore±
Hello worldA/A1.00*≈–
DatabaseA/A1.00*≈–
ApplicationA/A1.00*≈–
Memory (high-water mark)A/A1.00≈–
StartupA/A1.00≈–

Runner CPUs: EPYC 9V74, EPYC 9V74, Xeon PLATINUM 8573C

Settings

Runtime
Rust 1.99.1 (release build, thin LTO)
Server
Hyper via axum::serve
Workers
Tokio multi-threaded runtime, one worker per available CPU (2)
Database layer
SQLx 0.9 (Axum has no ORM; its examples use SQLx)
Templates
Askama 0.16
Logging
none
Dependency source
–
Status
measured

Notes

Application endpoints: mechanisms

Validation
Path, Query, Json and Form extractors (type errors: 400, Json data errors 422); ranges checked by hand (422)
CSRF
token (library): axum_csrf 0.12 (token in an encrypted cookie, HMAC in the form field)
Session store
postgresql (library): tower-sessions 0.15 with tower-sessions-sqlx-store 0.16 PostgresStore

Tier 1 endpoints

Medians over every round (lowest and highest round in brackets); vs Axum: the median of the per-round ratios on the same runners.
Endpointreq/svs AxumEfficiency (req/CPU-s)p99 (ms)ErrorsLimits
/text168,527 (163,459–191,903)1.0085,2311.090load-generator-bound 10/15
/json164,467 (160,860–185,660)1.0083,1701.130load-generator-bound 10/15
/db-single18,538 (18,140–22,164)1.0013,8058.000PostgreSQL-bound 15/15
/html160,356 (155,078–183,375)1.0080,9901.160load-generator-bound 10/15
/queries?queries=201,104 (1,078–1,325)1.00937116.680PostgreSQL-bound 15/15
/fortunes27,617 (27,056–30,095)1.0014,2705.860PostgreSQL-bound 15/15
GET /world/{id}17,807 (17,281–21,442)1.0013,7808.060PostgreSQL-bound 15/15
GET /worlds13,935 (11,499–15,121)0.9811,75911.120PostgreSQL-bound 15/15
POST /form86,771 (81,110–92,604)1.0143,5402.110
GET /me9,510 (9,317–11,493)1.006,93015.290PostgreSQL-bound 15/15
/updates?queries=20483 (469–595)1.00470265.780PostgreSQL-bound 15/15
PUT /world/{id}14,106 (13,495–17,567)0.9912,04610.190PostgreSQL-bound 15/15

Measured versions

Runner jobs

Each job ran on its own GitHub-hosted runner; the CPU model differs between jobs.
JobCPU modelRoundsStatus
1EPYC 9V745measured
2EPYC 9V745measured
3Xeon PLATINUM 8573C5measured