Improvements Over NGINX & Roadmap
This page summarizes what naati improves over stock NGINX 1.30.8 and planned areas of future work.
(See Own Infrastructure Benchmarks for bare-metal A/B results against NGINX 1.30.8 and Third-Party Benchmarks for independent HttpArena and Web Frameworks Benchmark submissions.)
Improvements Over NGINX 1.30.8
| Area | NGINX 1.30.8 | naati |
|---|---|---|
| Memory-safe, compact codebase | 226,994 lines of C with manual memory management | 62,899 lines (72% fewer lines) in a memory-safe Goose core, eliminating common C memory-corruption classes across protocol parsing, routing, caching, and config handling |
Linux io_uring networking | epoll-only network event loop | Native Linux io_uring worker backend with automatic epoll fallback under restricted kernels or container seccomp profiles |
| TLS 1.3 & kTLS | Standard libssl TLS 1.2/1.3 path | TLS 1.2/1.3 backed by OpenSSL 3 with RFC 8446 record-limit and KeyUpdate enforcement alongside opt-in Linux kTLS SSL_sendfile |
| HTTP/3 (QUIC) UDP GSO | quic_gso defaults to off | Automatic Linux UDP_SEGMENT (UDP GSO) batching with sendmmsg/recvmmsg fallback |
Built-in brotli_static | Requires an external third-party C module (ngx_brotli) | Built-in brotli_static on|off|always; across HTTP/1.1, HTTP/2, and HTTP/3 with RFC 9110 Accept-Encoding negotiation and Vary: Accept-Encoding |
| Lock-free shared memory | Shared-memory zones protected by cross-process mutexes | Lock-free shared-memory zones with automatic crash recovery across workers |
| HTTP/2 upstream keepalive | Late RST_STREAM for a previously finished stream on a reused upstream connection returns 502 | Resilient HTTP/2 upstream connection reuse avoids spurious 502 responses when a late RST_STREAM arrives for a completed stream |
| Security defaults | Unkeyed internal hashes; no PCRE2 ReDoS caps | Keyed hash-flood protection, PCRE2 ReDoS compile/match limits, CSPRNG $request_id, memory zeroization for sensitive secrets, disabled worker core dumps, and hardened compiler/linker builds (see Security Model) |
Roadmap
- Third-Party Benchmark Publication: Publish official independent results on HttpArena (
Infrastructure) and Web Frameworks Benchmark. - IPv6 Upstreams, Resolver & QUIC: Full IPv6 support for
proxy_pass/fastcgi_pass/ stream / mail upstreams, AAAA resolver connections,ip6.arpamail PTR lookups, and IPv6listen ... quic. - Zero-Downtime Live Binary Upgrade (
SIGUSR2/SIGWINCH):.oldbinpidfile management and inherited listening sockets for in-place binary upgrades, including bidirectional upgrades with NGINX. - Listen Port Ranges &
disable_symlinks:listen addr:port1-port2port-range syntax and fulldisable_symlinks on|if_not_ownersupport (currently fail-closed at-t). - HTTP/3 Multi-Worker Scaling & OpenSSL 3.5 Features: eBPF
quic_bpfsocket steering, non-v1 QUIC Version Negotiation,stub_statusQUIC counters, and TLS 1.3 0-RTT early data on OpenSSL 3.5+. - Long-Tail Compatibility Polish:
syslog:server=unix:targets,proxy_force_rangeson streamed responses, length-changing UTF-8 charset recoding on proxied bodies, and HTTP/2 upstream response-head parsing while request bodies are still in flight.