Implementations
What was measured
Each implementation follows its framework's documentation for production: release build, pinned versions and lockfiles, the framework's standard database layer and template engine, its documented way to run in production. Each folder's README cites the documentation behind every setting. frameworks/
| Implementation | Group | Version | Language | Runtime | Server | Workers | Database layer | Templates | Status |
|---|---|---|---|---|---|---|---|---|---|
| Axumreference | Rust | 0.8.9 | Rust | Rust 1.99.1 (release build, thin LTO) | Hyper via axum::serve | Tokio multi-threaded runtime, one worker per available CPU (2) | SQLx 0.9 (Axum has no ORM; its examples use SQLx) | Askama 0.16 | measured |
| Actix Web | Rust | 4.19.0 | Rust | Rust 1.99.1 (release build, thin LTO) | actix-web HttpServer | Default: one worker per available CPU (2) | SQLx 0.9 (Actix Web has no ORM) | Askama 0.16 | measured |
| Loco | Rust | 1.3.1 | Rust | Rust 1.99.1 (release build, thin LTO) | loco start (Axum/Hyper), LOCO_ENV=production | Tokio multi-threaded runtime, one worker per available CPU (2) | SeaORM 2.0 (find_by_id, ActiveModel::update, Entity::find().all), pool max_connections = DB_POOL_SIZE | Tera 2 (Loco TeraView) | measured |
| Rullst (as generated) Rullst | Rust | 13.0.0-rc.2 | Rust | Rust 1.99.1 (release build, thin LTO) | rullst::Server (production stack) | Tokio multi-threaded runtime, one worker per available CPU (2) | rullst-orm (#[derive(Orm)] with RowSnapshot: find, save, all, query builder; SQLx PostgreSQL pool) | html! macro | measured |
| Topcoat | Rust | 0.12.1 | Rust | Rust 1.99.1 (release build, thin LTO) | topcoat::start (Hyper) | Tokio multi-threaded runtime, one worker per available CPU (2) | Toasty 0.11 (get_by_id, update(), all()), max_pool_size = DB_POOL_SIZE | view! macro | measured |
| ASP.NET Core | Full-stack frameworks | 10.0.15 | C# | .NET 10.0.15 (Release build, framework-dependent publish) | Kestrel | .NET thread pool sized by the runtime for 2 vCPUs; Server GC (the ASP.NET Core default) | Entity Framework Core 10.0 with the Npgsql provider, pool of 16 connections, Npgsql automatic preparation (Max Auto Prepare=20) | Razor Pages | measured |
| Django | Full-stack frameworks | 6.1.3 | Python | Python 3.15.2 | Gunicorn 27 (gthread worker) | BENCH_WORKERS (2) processes x 8 threads | Django ORM with psycopg 3.3 (C extension); persistent connections (CONN_MAX_AGE), one per thread, 16 in total | Django templates (cached loader) | measured |
| Laravel | Full-stack frameworks | 13.42.0 | PHP | PHP 8.5.12 with OPcache | Nginx with PHP-FPM, as in Laravel's deployment documentation | Nginx: BENCH_WORKERS (2) workers; PHP-FPM: pm = static with pm.max_children = DB_POOL_SIZE (16) processes | Eloquent (pdo_pgsql); a new connection for every request, no persistent PDO connections (Laravel's default; at most 16 open, one per PHP-FPM process) | Blade | measured |
| NestJS | Full-stack frameworks | 12.5.0 | TypeScript | Node.js 26.13.1 LTS, NODE_ENV=production, compiled with nest build (tsc) | Nest NodeAdapter (@nestjs/platform-node, on node:http) | node:cluster, one process per vCPU (2) | TypeORM 1.1 via @nestjs/typeorm with pg, 8 connections per process (16 in total) | hbs 4.4 (Handlebars) | measured |
| Phoenix | Full-stack frameworks | 1.8.16 | Elixir | Elixir 1.20.5 on Erlang/OTP 29.1.2 (mix release) | Bandit 1.14 (Phoenix's default adapter) | One BEAM node; one scheduler online per CPU the container may use (2) | Ecto 3.14 with Postgrex, pool of DB_POOL_SIZE (16) connections | HEEx | measured |
| Ruby on Rails | Full-stack frameworks | 8.1.4.1 | Ruby | Ruby 4.0.9 with YJIT and jemalloc | Puma 8.1 behind Thruster 0.1, as in the Dockerfile rails new generates | Puma cluster mode: WEB_CONCURRENCY = BENCH_WORKERS (2) workers x 3 threads (the generated RAILS_MAX_THREADS default) | Active Record (pg 1.7), pools of up to 8 connections per worker (16 in total); 6 in use, one per Puma thread (2 workers x 3 threads) | ERB (Action View) | measured |
| Spring Boot | Full-stack frameworks | 4.1.2 | Java | Java 25 (Eclipse Temurin 25.0.5 JRE), layered executable jar, no JVM flags | Spring MVC on embedded Tomcat 11 (the starter's default) | Tomcat's default request thread pool (up to 200 threads); JVM ergonomics for 2 vCPUs and 2 GiB | Spring Data JPA (Hibernate 7.4), HikariCP pool of 16 connections | Thymeleaf 3.1 | measured |
| FastAPI | Popular references | 0.163.0 | Python | CPython 3.14.10 | Uvicorn 0.54 (uvloop, httptools) | BENCH_WORKERS Uvicorn worker processes (2), one event loop each | SQLModel 0.0.50 on SQLAlchemy 2.1 with psycopg 3 (sync sessions, as in the FastAPI SQL tutorial), DB_POOL_SIZE / BENCH_WORKERS connections per process | Jinja2 3.1 (Jinja2Templates) | measured |
| Fastify | Popular references | 5.12.8 | JavaScript | Node.js 26.13.1 (active LTS), NODE_ENV=production | Fastify (node:http) | node:cluster with BENCH_WORKERS worker processes (2) | @fastify/postgres 6.1 (node-postgres 8.23 pool), DB_POOL_SIZE / BENCH_WORKERS connections per process | @fastify/view 12 with EJS 7 | measured |
| Gin | Popular references | 1.12.0 | Go | Go 1.27.4 (CGO_ENABLED=0), GIN_MODE=release | net/http via router.Run | One process; the Go scheduler runs goroutines on GOMAXPROCS threads, which defaults to the 2 available CPUs | GORM 1.31 with gorm.io/driver/postgres 1.6 (pgx 5), one database/sql pool of DB_POOL_SIZE connections | html/template via router.LoadHTMLGlob | measured |
| Diagnostics and the A/A control (not ranked) | |||||||||
| Axum (test_before_acquire off)diagnostic, unranked | Rust | 0.8.9 | Rust | Rust 1.99.1 (release build, thin LTO) | Hyper via axum::serve | Tokio multi-threaded runtime, one worker per available CPU (2) | SQLx 0.9 PgPool with test_before_acquire(false) (the baseline keeps SQLx's default, true) | Askama 0.16 | measured |
| Rullst (minimal) Rullstdiagnostic, unranked | Rust | 13.0.0-rc.2 | Rust | Rust 1.99.1 (release build, thin LTO) | Hyper via axum::serve (no rullst::Server) | Tokio multi-threaded runtime, one worker per available CPU (2) | rullst-orm (#[derive(Orm)] with RowSnapshot: find, save, all, query builder; SQLx PostgreSQL pool) | html! macro | measured |
| Axum (A/A control)A/A control, unranked | Rust | 0.8.9 | Rust | Rust 1.99.1 (release build, thin LTO) | Hyper via axum::serve | Tokio multi-threaded runtime, one worker per available CPU (2) | SQLx 0.9 (Axum has no ORM; its examples use SQLx) | Askama 0.16 | measured |
Structural differences
What else runs inside the server's 2 vCPUs, and runtime versions.
- Django: Python 3.15.2, the newest Django 6.1 supports (FastAPI runs 3.14.10)
- Laravel: Nginx (2 workers) and PHP-FPM (16 processes) share the 2 vCPUs
- Ruby on Rails: Thruster (HTTP proxy) and Puma (2 workers x 3 threads) share the 2 vCPUs
- FastAPI: Python 3.14.10, as in FastAPI's container guide (Django runs 3.15.2)