Implementation

Rullst (minimal)

Rullst 13.0.0-rc.2 · Rust · Rust · diagnostic, unranked

frameworks/rullst-minimal on GitHub

Scores

Score relative to Axum (1.00×, higher is better) and position among the 14 ranked implementations; Stability: pass.
CategoryPositionScore±
Hello worlddiag.1.00*≈–
Databasediag.1.03*≈–
Applicationdiag.0.93*–
Memory (high-water mark)diag.1.00≈–
Startupdiag.1.00≈–

Runner CPUs: Xeon 6975P-C, EPYC 7763, EPYC 7763

Settings

Runtime
Rust 1.99.1 (release build, thin LTO)
Server
Hyper via axum::serve (no rullst::Server)
Workers
Tokio multi-threaded runtime, one worker per available CPU (2)
Database layer
rullst-orm (#[derive(Orm)] with RowSnapshot: find, save, all, query builder; SQLx PostgreSQL pool)
Templates
html! macro
Logging
none
Dependency source
crates.io
Status
measured

Notes

Application endpoints: mechanisms

Validation
ValidatedJson and ValidatedForm (#[derive(Validate)]: constraint failures 422, unreadable bodies 400); GET /worlds: Query (400) and FieldErrors::validate (422); Path<i32> (400)
CSRF
token (built-in): csrf_middleware on /form and /login only: double-submit rullst_csrf cookie, token masked per response in the _token field, compared in constant time; 403
Session store
postgresql (generator): session registry as cargo rullst auth generates it: rullst_session cookie sealed with APP_KEY, one rullst_auth_sessions row per sign-in, read by primary key on every request

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
/text120,815 (117,332–282,022)1.0261,0481.540load-generator-bound 15/15
/json117,934 (110,884–275,979)1.0259,5441.580load-generator-bound 15/15
/db-single13,895 (13,430–39,921)1.1210,02110.210PostgreSQL-bound 15/15
/html105,911 (102,029–251,173)0.9553,3681.750
/queries?queries=20880 (830–2,541)1.15707146.140PostgreSQL-bound 15/15
/fortunes18,444 (17,591–37,956)0.929,3537.740PostgreSQL-bound 4/15
GET /world/{id}13,768 (12,822–37,554)1.1410,09010.410PostgreSQL-bound 15/15
GET /worlds7,978 (7,036–18,184)0.828,64817.400PostgreSQL-bound 15/15
POST /form62,742 (59,945–162,646)1.1631,4332.900
GET /me7,562 (7,313–20,999)1.185,56318.640PostgreSQL-bound 15/15
/updates?queries=20297 (285–842)0.89255418.450PostgreSQL-bound 15/15
PUT /world/{id}5,713 (5,470–14,762)0.574,26824.340PostgreSQL-bound 15/15

Measured versions

Runner jobs

Each job ran on its own GitHub-hosted runner; the CPU model differs between jobs.
JobCPU modelRoundsStatus
1Xeon 6975P-C5measured
2EPYC 77635measured
3EPYC 77635measured