Competitors

Five servers. Make any of them faster or fairer: Contribute.

goGo

io
net/http: goroutine per connection, epoll netpoller
templates
templ: compiled to Go
db
database/sql: modernc.org/sqlite
build
go build: -trimpath, CGO_ENABLED=0, GOAMD64=v3

The baseline, as most teams would ship it: Go on its standard library.

axumRust

io
hyper on tokio: work-stealing threads, epoll
templates
askama: compiled in
db
sqlx
build
cargo build --release: LTO, codegen-units=1, x86-64-v3

Rust’s most used web framework, by the book: Rust on tokio.

fourneau-zigZig

io
fourneau: io_uring, fiber per connection, shard per core
templates
pure Zig, no engine: the floor
db
SQLite amalgamation: connection per shard
build
zig build: ReleaseSafe, x86-64-v3

The server this race exists to measure, bare: Zig on fourneau.

rouxRoc

io
fourneau: io_uring, fiber per connection, shard per core
templates
rocstache: Roc-typed, compiled to bytecode
db
roux-db: SQL compiled to typed Roc
build
roux build: Roc --opt=speed, host ReleaseSafe, x86-64-v3, one static binary

Eldhus’s Roc platform: Roc on fourneau. The gap to fourneau-zig is what Roc and roux cost.

basic-webserverRoc

io
hyper on tokio: epoll, Roc handlers on a thread pool
templates
Html: the platform’s module
db
Sqlite: raw libsqlite3-sys, the host’s pool raised to 32
build
roc build: --opt=speed, the released platform

Roc’s reference web platform, as released: Roc on Rust.

Versions

As the last race recorded them.

Zig0.17.0
Rocnightly-2026-11-07-ad3a5d2
Go1.27.3
Rust1.99.1
axum0.8.9
tokio1.54.1
basic-webserver0.21.0
oha (load)1.16.0
droplet imageubuntu-26-04-x64
fourneau80a7664
rouxe147f21