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/

ImplementationGroupVersionLanguageRuntimeServerWorkersDatabase layerTemplatesStatus
AxumreferenceRust0.8.9RustRust 1.99.1 (release build, thin LTO)Hyper via axum::serveTokio multi-threaded runtime, one worker per available CPU (2)SQLx 0.9 (Axum has no ORM; its examples use SQLx)Askama 0.16measured
Actix WebRust4.19.0RustRust 1.99.1 (release build, thin LTO)actix-web HttpServerDefault: one worker per available CPU (2)SQLx 0.9 (Actix Web has no ORM)Askama 0.16measured
LocoRust1.3.1RustRust 1.99.1 (release build, thin LTO)loco start (Axum/Hyper), LOCO_ENV=productionTokio 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_SIZETera 2 (Loco TeraView)measured
Rullst (as generated) RullstRust13.0.0-rc.2RustRust 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! macromeasured
TopcoatRust0.12.1RustRust 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_SIZEview! macromeasured
ASP.NET CoreFull-stack frameworks10.0.15C#.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 Pagesmeasured
DjangoFull-stack frameworks6.1.3PythonPython 3.15.2Gunicorn 27 (gthread worker)BENCH_WORKERS (2) processes x 8 threadsDjango ORM with psycopg 3.3 (C extension); persistent connections (CONN_MAX_AGE), one per thread, 16 in totalDjango templates (cached loader)measured
LaravelFull-stack frameworks13.42.0PHPPHP 8.5.12 with OPcacheNginx with PHP-FPM, as in Laravel's deployment documentationNginx: BENCH_WORKERS (2) workers; PHP-FPM: pm = static with pm.max_children = DB_POOL_SIZE (16) processesEloquent (pdo_pgsql); a new connection for every request, no persistent PDO connections (Laravel's default; at most 16 open, one per PHP-FPM process)Blademeasured
NestJSFull-stack frameworks12.5.0TypeScriptNode.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
PhoenixFull-stack frameworks1.8.16ElixirElixir 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) connectionsHEExmeasured
Ruby on RailsFull-stack frameworks8.1.4.1RubyRuby 4.0.9 with YJIT and jemallocPuma 8.1 behind Thruster 0.1, as in the Dockerfile rails new generatesPuma 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 BootFull-stack frameworks4.1.2JavaJava 25 (Eclipse Temurin 25.0.5 JRE), layered executable jar, no JVM flagsSpring 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 GiBSpring Data JPA (Hibernate 7.4), HikariCP pool of 16 connectionsThymeleaf 3.1measured
FastAPIPopular references0.163.0PythonCPython 3.14.10Uvicorn 0.54 (uvloop, httptools)BENCH_WORKERS Uvicorn worker processes (2), one event loop eachSQLModel 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 processJinja2 3.1 (Jinja2Templates)measured
FastifyPopular references5.12.8JavaScriptNode.js 26.13.1 (active LTS), NODE_ENV=productionFastify (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 7measured
GinPopular references1.12.0GoGo 1.27.4 (CGO_ENABLED=0), GIN_MODE=releasenet/http via router.RunOne process; the Go scheduler runs goroutines on GOMAXPROCS threads, which defaults to the 2 available CPUsGORM 1.31 with gorm.io/driver/postgres 1.6 (pgx 5), one database/sql pool of DB_POOL_SIZE connectionshtml/template via router.LoadHTMLGlobmeasured
Diagnostics and the A/A control (not ranked)
Axum (test_before_acquire off)diagnostic, unrankedRust0.8.9RustRust 1.99.1 (release build, thin LTO)Hyper via axum::serveTokio 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.16measured
Rullst (minimal) Rullstdiagnostic, unrankedRust13.0.0-rc.2RustRust 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! macromeasured
Axum (A/A control)A/A control, unrankedRust0.8.9RustRust 1.99.1 (release build, thin LTO)Hyper via axum::serveTokio multi-threaded runtime, one worker per available CPU (2)SQLx 0.9 (Axum has no ORM; its examples use SQLx)Askama 0.16measured

Structural differences

What else runs inside the server's 2 vCPUs, and runtime versions.