Own Infrastructure
All results on this page were executed on dedicated bare-metal Linux servers (no hypervisor, no shared vCPUs) with full hardware specs, compiler flags, and reproduction commands documented alongside every table.
Bare-Metal Drop-In A/B: naati v0.1.1 vs NGINX 1.30.8
Test Environment
| Component | Specification |
|---|---|
| Provider / Plan | Vultr Bare Metal vbm-4c-32gb (dedicated physical host) |
| CPU | Intel Xeon E3-1270 v6 @ 3.80 GHz (4 physical cores / 8 threads, turbo up to 4.20 GHz) |
| RAM | 32 GiB |
| OS / Kernel | Ubuntu 24.04 LTS, Linux 6.8.0-151-generic (x86-64) |
| TLS Library | OpenSSL 3.0.13 (shared system library for both servers) |
| Compilers | GCC 13.3.0 (Track 1) · Clang 18.1.3 + lld (Tracks 2 & 3) |
| Binaries | naati v0.1.1 (41bbdf7) vs NGINX 1.30.8 built from tools/modules.conf (identical module set) |
| Methodology | 5 interleaved rounds (A/B/A/B) × 6 s per workload (gRPC: 5 × 30,000 unary calls); medians reported; server and load generator pinned to separate physical cores (CPU 0 vs CPU 1 for 1-worker tracks; CPUs 0–1 vs 2–3 for 2-worker track) |
Track 2: Matched Clang -O3 -march=native -flto=thin (Single Core)
Both NGINX 1.30.8 (--with-cc=clang --with-cc-opt='-O3 -march=native -flto=thin -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIE' --with-ld-opt='-flto=thin -fuse-ld=lld -pie') and naati v0.1.1 (make release) compiled with Clang 18.1.3 + ThinLTO + -O3 -march=native and binary hardening. Server pinned to physical core 0, load generator (wrk / h2load / ghz) pinned to physical core 1.
| Workload | NGINX 1.30.8 (req/s) | naati v0.1.1 (req/s) | Speedup | Server CPU/req (NGINX → naati) | Notes |
|---|---|---|---|---|---|
Static 1 KB (realistic, access_log on) | 42,230 | 131,533 | 3.11× | 23.7 µs → 7.6 µs | Default realistic config |
Static 1 KB (tuned, access_log off) | 54,173 | 131,140 | 2.42× | 18.2 µs → 7.6 µs | open_file_cache enabled |
| Many-URI static (1,000 files) | 43,384 | 83,641 | 1.93× | 23.1 µs → 12.0 µs | Multi-URI routing & file cache |
| HTTP/1.1 Pipelined (depth 16) | 19,041 | 560,495 | 29.44× | 24.8 µs → 1.8 µs | Batched io_uring pipeline writes |
HTTP/2 Static (h2c, h2load) | 34,247 | 353,915 | 10.33× | 29.2 µs → 2.8 µs | Multiplexed HTTP/2 fast path |
TLS 1.3 HTTP/2 (h2load) | 36,244 | 283,592 | 7.82× | 27.5 µs → 3.5 µs | Pure-Goose TLS 1.3 framing over libcrypto AEAD |
| TLS 1.3 HTTP/1.1 Keepalive | 33,222 | 87,664 | 2.64× | 30.1 µs → 11.4 µs | Same OpenSSL 3.0.13 system library |
HTTP Cache HIT (1 KB, proxy_cache) | 39,541 | 87,118 | 2.20× | 25.2 µs → 11.5 µs | Lock-free shared-zone cache path |
HTTP Cache HIT (100 KB, proxy_cache) | 28,401 | 29,072 | 1.02× | 30.7 µs → 27.2 µs | Loopback bandwidth-bound (~2.9 GB/s) |
| gRPC Unary Proxy (h2c) | 13,299 | 19,673 | 1.48× | 75.0 µs → 46.0 µs | 30,000 unary calls × 5 rounds |
| gRPC Unary Proxy (TLS 1.3) | 12,079 | 17,342 | 1.44× | 81.7 µs → 51.3 µs | 30,000 unary calls × 5 rounds |
Reverse Proxy (proxy_pass, no keepalive) | 18,951 | 19,683 | 1.04× | 52.6 µs → 50.8 µs | Upstream TCP connect-bound |
Reverse Proxy (proxy_pass + keepalive) | 45,567 | 45,797 | 1.01× | 21.9 µs → 21.8 µs | Tie (loopback + upstream ceiling) |
Static Connection: close | 22,331 | 22,299 | 1.00× | 36.5 µs → 24.9 µs | Tie on RPS (TCP teardown ceiling); 32% less server CPU |
| TLS 1.3 Handshake (resumed) | 2,801 | 2,829 | 1.01× | 356.0 µs → 352.3 µs | Tie (OpenSSL 3.0.13 handshake crypto) |
| TLS 1.3 Handshake (full) | 1,619 | 1,610 | 0.99× | 391.1 µs → 405.9 µs | Tie (OpenSSL 3.0.13 ECDSA/ECDHE crypto) |
HTTP/2 Reverse Proxy (h2proxy) | 42,854 | 36,439 | 0.85× | 23.4 µs → 26.0 µs | NGINX leads (+18% faster on H2→H1 proxy) |
Track 3: Max-Tuned NGINX Config + Tail Latency & Memory (1 & 2 Workers)
Both Clang -O3 -march=native -flto=thin binaries running the exact same max-tuned nginx.conf: access_log off, open_file_cache max=1000 inactive=60s, open_file_cache_valid 300s, sendfile on, tcp_nopush on, tcp_nodelay on, reuseport, multi_accept on, timer_resolution 1s, keepalive_requests 100000. Measured with wrk --latency (5 interleaved rounds × 6 s, physical cores 0 vs 1 for 1w; 0–1 vs 2–3 for 2w) and worker RSS summed via /proc/<pid>/status.
| Workload | NGINX 1.30.8 RPS | naati v0.1.1 RPS | Speedup | p50 (NGINX → naati) | p99 (NGINX → naati) | RSS (NGINX → naati) |
|---|---|---|---|---|---|---|
| 1 worker · Static 1 KB | 80,597 | 128,441 | 1.59× | 1.23 ms → 771 µs | 1.29 ms → 812 µs (−37%) | 30.8 MiB → 36.1 MiB |
| 2 workers · Static 1 KB | 162,056 | 257,354 | 1.59× | 629 µs → 365 µs | 657 µs → 405 µs (−38%) | 61.3 MiB → 72.0 MiB |
| 2 workers · Static 64 KB | 76,868 | 75,873 | 0.99× | 591 µs → 656 µs | 37.58 ms → 1.32 ms (28.5× lower) | 61.3 MiB → 71.9 MiB |
2 workers · return 200 "hello" | 263,038 | 263,069 | 1.00× | 178 µs → 180 µs | 376 µs → 375 µs | 61.4 MiB → 50.4 MiB (−18%) |
| 2 workers · Pipelined 16× | 38,408 | 1,088,371 | 28.34× | 22.77 ms → 1.12 ms | 42.80 ms → —* | 61.9 MiB → 69.8 MiB |
*wrk --latency reports 0.00us at p99 for Lua 16× pipelined scripts above 1M req/s due to wrk’s pipeline timestamping behavior; median latency (p50) was 1.12 ms vs 22.77 ms.
Key observations from Track 3:
2w-hellois client-saturated on a 4-core host (wrkon cores2–3caps at ~263k req/s against both servers), whilenaatiuses 18% less RSS (50.4 MiBvs61.4 MiB).2w-static64kis bandwidth-saturated (~4.9 GB/s loopback), yetnaati’sio_uringpath eliminates thesendfiletail spikes seen in NGINX (1.32 msvs37.58 msp99).- 1-worker → 2-worker scaling is linear for both servers (
1.59×advantage holds identically at 1w and 2w).
Track 1: Matched GCC 13.3.0 -O2 (Default Hardened Builds)
Reference NGINX 1.30.8 (tools/build-nginx-min.sh, GCC 13.3.0 -O2) vs default make nginx (naati v0.1.1, GCC 13.3.0 -O2), 5 interleaved rounds × 6 s, physical core 0 vs 1.
| Workload | NGINX 1.30.8 (req/s) | naati v0.1.1 (req/s) | Speedup |
|---|---|---|---|
Static 1 KB (realistic, access_log on) | 40,933 | 120,600 | 2.95× |
Static 1 KB (tuned, access_log off) | 52,516 | 116,970 | 2.23× |
| Many-URI static (1,000 files) | 41,563 | 77,614 | 1.87× |
| HTTP/1.1 Pipelined (depth 16) | 19,048 | 496,977 | 26.09× |
| HTTP/2 Static (h2c) | 34,246 | 328,170 | 9.58× |
TLS 1.3 HTTP/2 (h2load) | 35,943 | 292,262 | 8.13× |
| TLS 1.3 HTTP/1.1 Keepalive | 32,914 | 92,727 | 2.82× |
| HTTP Cache HIT (1 KB) | 37,814 | 76,014 | 2.01× |
| HTTP Cache HIT (100 KB) | 27,491 | 28,972 | 1.05× |
| gRPC Unary Proxy (h2c) | 13,138 | 17,555 | 1.34× |
| gRPC Unary Proxy (TLS 1.3) | 12,106 | 17,341 | 1.43× |
Reverse Proxy (proxy_pass, no keepalive) | 18,857 | 19,276 | 1.02× |
Reverse Proxy (proxy_pass + keepalive) | 46,442 | 45,074 | 0.97× |
Static Connection: close | 22,281 | 22,332 | 1.00× |
| TLS 1.3 Handshake (resumed / full) | 2,801 / 1,619 | 2,817 / 1,610 | 1.01× / 0.99× |
HTTP/2 Reverse Proxy (h2proxy) | 42,988 | 34,405 | 0.80× |
Reproducing the Bare-Metal A/B Suite
Every script used in Tracks 1 and 2 ships in the repository under bench/:
# 1. Build reference NGINX 1.30.8 (matching module set), naati, and wrk
tools/build-nginx.sh
tools/build-nginx-min.sh
tools/build-wrk.sh
make nginx # GCC -O2 (Track 1)
make release # Clang/GCC -O3 -march=native -flto (Track 2)
# 2. Initialize fixtures under build/bench/ (run once)
bench/perf/setup.sh
# 3. Run interleaved A/B rounds (5 rounds x 6s; pin server/client with SRV_CPU/CLI_CPU)
bench/perf/abn.sh 5 6 refmin build/sbin/nginx
bench/tls.sh 5 6 refmin build/sbin/nginx
bench/grpc.sh 5 30000 refmin build/sbin/nginxSelf-Hosted HttpArena Infrastructure Harness Run
We ran HttpArena’s exact open-source benchmark driver (scripts/benchmark.sh) and load generators (gcannon, wrk, h2load, h2load-h3) head-to-head against the Top 3 entries on HttpArena’s official Infrastructure leaderboard — okena (#1, x86-64 Assembly), agensio (#2, C++), and nginx (#3, C, NGINX 1.31.4 -O3 -march=native) — alongside both naati (exact PR #1906 build) and naati-tuned (v0.1.1 Clang two-stage PGO) on the same dedicated bare-metal server.
Test Environment
| Component | Specification |
|---|---|
| Provider / Plan | Vultr Bare Metal vbm-6c-32gb (dedicated physical host, Atlanta) |
| CPU | Intel Xeon E-2286G @ 4.00 GHz (6 physical cores / 12 threads, turbo 4.90 GHz) |
| RAM | 32 GiB |
| OS / Kernel | Ubuntu 24.04.5 LTS, Linux 6.17.0-22-generic (same kernel version as HttpArena’s official host) |
| Core Isolation | 50/50 physical-core + SMT split: 3c/6t (0,1,2,6,7,8) server vs 3c/6t (3,4,5,9,10,11) load generator (THREADS=6) |
| Harness & Profiles | Exact HttpArena scripts/benchmark.sh (RUNS=3 × 5 s, best run kept, lo mtu 1500, somaxconn=65535, rmem_max/wmem_max=7.5 MB, kernel cache drop) across all 9 scored Infrastructure profiles |
| Entries Tested | okena (6855d0b), agensio (v0.1.0-alpha.23), nginx (1.31.4 -O3 -march=native + ngx_brotli), naati (PR #1906: v0.1.0, make release Clang -O3 -march=native -flto=thin), naati-tuned (v0.1.1, make pgo Clang two-stage PGO + ThinLTO, inline fast-path small-POST /baseline11, gzip_static on, backlog=65535) |
Methodology note: Vultr’s default /etc/hosts mapped ::1 localhost ahead of IPv4, causing h2load-h3 to send QUIC packets only to [::1]:8443 against IPv4-only listeners (nginx and naati). Commenting out ::1 localhost in /etc/hosts matched HttpArena’s IPv4 loopback resolution so all 5 servers ran all 9 profiles cleanly.
HttpArena Infrastructure Composite Leaderboard (9 Scored Profiles)
Scored using HttpArena’s exact composite formula: each profile averages RPS across its scored connection counts (256c + 1024c for H2), normalizes 0–1,000 against the field leader (weight 1 each, max 9,000 raw), with an optional +500/profile memory efficiency bonus (sqrt(rps) / memoryMB, max 13,500).
| Rank | Server | Lang | Raw /9,000 | +Mem /13,500 | baseline | pipelined | limited-conn | json-tls | static-tls | baseline-h2 (avg) | static-h2 (avg) | baseline-h3 | static-h3 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| #1 | okena | x86-64 Asm | 8,337 | 11,763 | 515,514 | 3,670,832 | 418,650 | 170,265 | 121,248 | 2,886,935 | 314,894 | 974,831 | 144,179 |
| #2 | naati-tuned | Goose | 7,033 | 8,388 | 603,834 | 6,965,075 | 437,421 | 149,704 | 111,937 | 2,036,366 | 133,649 | 791,933 | 41,834 |
| #3 | agensio | C++ | 6,869 | 10,227 | 418,692 | 684,589 | 373,082 | 147,748 | 108,248 | 2,437,507 | 265,006 | 921,740 | 120,059 |
| #4 | naati (PR #1906) | Goose | 6,857 | 8,200 | 518,392 | 6,974,876 | 427,403 | 148,961 | 109,272 | 2,035,255 | 134,462 | 803,926 | 41,554 |
| #5 | nginx (1.31.4 -O3) | C | 4,489 | 5,188 | 399,331 | 483,364 | 346,156 | 123,443 | 88,435 | 350,002 | 107,255 | 680,243 | 50,822 |
Per-Profile Normalized Points (0–1,000 each) & Tail Latency Highlights
| Server | Raw /9,000 | baseline | pipelined | limited-conn | json-tls | static-tls | baseline-h2 | static-h2 | baseline-h3 | static-h3 |
|---|---|---|---|---|---|---|---|---|---|---|
| okena | 8,337 | 854 | 526 | 957 | 1,000 | 1,000 | 1,000 | 1,000 | 1,000 | 1,000 |
| naati-tuned | 7,033 | 1,000 | 999 | 1,000 | 879 | 923 | 705 | 424 | 812 | 290 |
| agensio | 6,869 | 693 | 98 | 853 | 868 | 893 | 844 | 842 | 946 | 833 |
naati (PR #1906) | 6,857 | 859 | 1,000 | 977 | 875 | 901 | 705 | 427 | 825 | 288 |
nginx (1.31.4 -O3) | 4,489 | 661 | 69 | 791 | 725 | 729 | 121 | 341 | 698 | 352 |
Key findings from the 9-profile run:
naati-tunedfinished #2 overall (7,033 / 9,000), ahead of C++agensio(6,869) and +56.7% ahead of tuned NGINX1.31.4(4,489).- Beat tuned NGINX
1.31.4on 8 of 9 profiles —pipelined14.4× (6.97Mvs483k, p9910.2 msvs223.9 ms),baseline-h25.82× (2.04Mvs350k),baseline+51% (603.8kvs399.3k, p997.42 msvs17.30 ms),static-tls+27%,limited-conn+26% (13.7 msvs35.9 msp99),static-h2+25%,json-tls+21%,baseline-h3+18% — while NGINX led onstatic-h3(50.8kvs41.8k). - Beat
okena(hand-written x86-64 assembly) on all 3 HTTP/1.1 connection profiles (baseline+17%,pipelined1.90×,limited-conn+4.5% with 46% lower p99 latency:13.7 msvs25.6 ms). - Where the remaining gap to #1 lives:
1,286of the1,304-point gap behindokenasits in just two profiles —static-h2(-576 pts) andstatic-h3(-710 pts), where assets larger than32 KiB(app.js.br,hero.webp,vendor.js.br) bypass the small-file fast path and H3 large-file stream pacing lagsokena/agensio. Across the other 7 profiles combined,naati-tunedscores6,319vsokena’s6,337(0.28%apart).
Note: This is a self-hosted 6-core bare-metal execution of HttpArena’s public harness rather than an official http-arena.com 64-core Threadripper run. See Third-Party Benchmarks for official PR #1906 status.