Skip to content
Improvements Over NGINX & Roadmap

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

AreaNGINX 1.30.8naati
Memory-safe, compact codebase226,994 lines of C with manual memory management62,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 networkingepoll-only network event loopNative Linux io_uring worker backend with automatic epoll fallback under restricted kernels or container seccomp profiles
TLS 1.3 & kTLSStandard libssl TLS 1.2/1.3 pathTLS 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 GSOquic_gso defaults to offAutomatic Linux UDP_SEGMENT (UDP GSO) batching with sendmmsg/recvmmsg fallback
Built-in brotli_staticRequires 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 memoryShared-memory zones protected by cross-process mutexesLock-free shared-memory zones with automatic crash recovery across workers
HTTP/2 upstream keepaliveLate RST_STREAM for a previously finished stream on a reused upstream connection returns 502Resilient HTTP/2 upstream connection reuse avoids spurious 502 responses when a late RST_STREAM arrives for a completed stream
Security defaultsUnkeyed internal hashes; no PCRE2 ReDoS capsKeyed 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

  1. Third-Party Benchmark Publication: Publish official independent results on HttpArena (Infrastructure) and Web Frameworks Benchmark.
  2. IPv6 Upstreams, Resolver & QUIC: Full IPv6 support for proxy_pass / fastcgi_pass / stream / mail upstreams, AAAA resolver connections, ip6.arpa mail PTR lookups, and IPv6 listen ... quic.
  3. Zero-Downtime Live Binary Upgrade (SIGUSR2 / SIGWINCH): .oldbin pidfile management and inherited listening sockets for in-place binary upgrades, including bidirectional upgrades with NGINX.
  4. Listen Port Ranges & disable_symlinks: listen addr:port1-port2 port-range syntax and full disable_symlinks on|if_not_owner support (currently fail-closed at -t).
  5. HTTP/3 Multi-Worker Scaling & OpenSSL 3.5 Features: eBPF quic_bpf socket steering, non-v1 QUIC Version Negotiation, stub_status QUIC counters, and TLS 1.3 0-RTT early data on OpenSSL 3.5+.
  6. Long-Tail Compatibility Polish: syslog:server=unix: targets, proxy_force_ranges on 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.