
Next-Generation
Adaptive Load Balancing.
Out-delivers NGINX with 118,872 req/s throughput, sub-millisecond median latencies, and consumes 88.6% less memory with atomic zero-downtime hot reloads.
Head-to-Head Benchmark Showdown
Benchmarked on identical Apple Silicon hardware running against identical HTTP/1.1 mock services across multiple concurrency levels.
Dynamic Scheduling in Action
Watch how NexusLB adaptively steers traffic around degraded backends in real time compared to blind round-robin proxies.
Inject a 950ms GC spike on Node 3. Notice how Adaptive routing steers traffic away, while Round Robin blindly routes 25% of traffic into the stall.
Zero Allocation. Lock-Free. Safe Rust.
Every microsecond matters. NexusLB combines low-level OS capabilities with modern Rust concurrency abstractions to deliver unmatched performance.
SIMD Vectorized Header Parsing
Uses 128-bit vector instructions (SSE/AVX/NEON) to parse HTTP headers in bulk, replacing slow character-by-character C state machines.
Lock-Free Buffer & Connection Pools
Pre-allocated ArrayQueue pools eliminate malloc/free syscall overhead on the hot path, achieving true zero-allocation request forwarding.
Atomic Zero-Downtime Hot Reload
Reconfigure routes, pools, and SSL certs via POST /reload or SIGHUP in under 1 µs using ArcSwap with zero dropped in-flight requests.
Active Health & Circuit Breakers
Native background HTTP/TCP health probing and 3-state circuit breakers isolate failing backends without requiring paid enterprise licenses.
Pluggable Multi-Engine Architecture
Seamlessly switch between high-concurrency Tokio, Linux kernel io_uring, and bare-metal kernel-bypass AF_XDP for maximum throughput.
RFC 7234 In-Memory Cache
High-speed in-memory LRU cache with conditional ETag revalidation serving cached responses with 304 Not Modified in microseconds.
TLS Termination & Dynamic SNI
Hardware-accelerated TLS 1.3 / HTTP/2 termination using PrefixedStream, supporting wildcard domains and dynamic certificate reloads.
Real-Time Terminal Dashboard
Interactive terminal TUI (nexuslb top) and Prometheus exporter for zero-overhead, sub-millisecond observability.
Extensible Filter Pipeline
JWT authentication, header injection, and distributed tracing (W3C traceparent OpenTelemetry) evaluated before backend dispatch.
NexusLB Configuration Builder
Customize routing, protocols, algorithms, and security filters, then copy a production-ready nexuslb.yaml.
1. Getting Started
Zero-dependency setup, binary compilation, and running your first proxy in under 60 seconds.
Installation & System Requirements
NexusLB runs on macOS (Apple Silicon & Intel) and Linux (x86_64, aarch64, ARMv7). It compiles into a completely self-contained single binary with zero external runtime dependencies.
- Rust 1.80+ (stable toolchain recommended)
- Linux kernel 5.1+ required for io_uring and AF_XDP engines; Tokio engine runs universally on all platforms including macOS
- OpenSSL is NOT required (native pure-Rust rustls cryptographic engine)
60-Second Quickstart
Bootstrap a production-ready Layer 7 reverse proxy routing between local microservices.
CLI Command Reference
The nexuslb binary exposes subcommands for running, inspecting, and hot-reloading active daemon processes.
| Command | Flags / Options | Description |
|---|---|---|
| nexuslb start | --config <PATH>, --engine <tokio|io-uring|xdp|auto>, --workers <N> | Starts proxy server with specified engine |
| nexuslb top | --admin-addr <ADDR> (default: 127.0.0.1:9091) | Interactive 10 Hz curses operator terminal |
| nexuslb reload | --admin-addr <ADDR>, --token <TOKEN> | Triggers sub-microsecond atomic config swap |
| nexuslb status | --admin-addr <ADDR> | Queries running status and active upstream pools |
| nexuslb version | None | Outputs binary build target, commit, and engines |