Skip to main content

What is UltraBalancer?

UltraBalancer is a modern, high-performance load balancer built from the ground up in Rust. Designed for extreme throughput (500k+ RPS), it supports HTTP/1.1, HTTP/2, WebSockets, and TLS termination out of the box.

500k+ RPS

Built with Tokio async runtime and lock-free data structures

HTTP/2 & WebSocket

Full HTTP/2 multiplexing and WebSocket proxying support

Production Ready

TLS termination, rate limiting, and graceful shutdown

Observable

Built-in metrics, access logs, and Prometheus integration

Key Features

  • Round Robin - Equal distribution across backends
  • Least Connections - Smart connection-aware balancing
  • IP Hash - Consistent hashing for session affinity
  • Weighted Round Robin - Priority-based distribution
  • Random - Stochastic distribution
Learn more about algorithms →
  • HTTP/1.1 with keep-alive connection pooling
  • HTTP/2 multiplexing for improved performance
  • WebSocket full-duplex proxying support
  • TLS termination with rustls (modern, memory-safe TLS)
Learn more about architecture →
  • Response caching with TTL and Cache-Control support
  • Gzip compression for text content
  • Brotli compression for better ratios
  • Zstd compression for maximum performance
  • Automatic content-type detection
Learn more about configuration →
  • Global rate limiting - requests per second cap
  • Per-IP rate limiting - prevent abuse from single sources
  • IP filtering - whitelist/blacklist with CIDR support
  • TLS termination - secure client connections
Learn more about security →
  • Sticky sessions - cookie-based backend affinity
  • Health checking - automatic backend monitoring
  • Circuit breaker - fault tolerance pattern
  • Retry with backoff - exponential backoff on failures
Learn more about health checks →
  • Graceful shutdown - drain connections on SIGTERM
  • Access logging - combined and JSON formats
  • Real-time metrics - response times (p50, p95, p99)
  • Prometheus endpoint - /prometheus metrics export
  • Request ID tracking - distributed tracing support
Learn more about metrics →

Why UltraBalancer?

Extreme Performance

500k+ RPS with lock-free data structures and zero-copy I/O. HTTP/2 multiplexing for reduced latency.

Feature Complete

Caching, compression, rate limiting, sticky sessions, TLS - everything built in, no plugins needed.

Zero Config

Start with a single command. YAML/TOML config for production. Sane defaults throughout.

Quick Example

# Basic load balancing
ultrabalancer start round-robin backend1:8080 backend2:8080 -p 80

# With caching and compression
ultrabalancer start least-connections backend1:8080 backend2:8080 \
  --cache --compression gzip -p 80

# Full production config
ultrabalancer start -c /etc/ultrabalancer/config.yaml
UltraBalancer distributes traffic with automatic health checking, retries, and failover.

Installation

# Download latest release
curl -LO https://github.com/bas3line/ultrabalancer/releases/latest/download/ultrabalancer-linux-x86_64
chmod +x ultrabalancer-linux-x86_64
sudo mv ultrabalancer-linux-x86_64 /usr/local/bin/ultrabalancer

# Verify
ultrabalancer --version
Full installation guide →

Use Cases

High-Traffic APIs

Handle 500k+ RPS with caching, compression, and rate limiting. Perfect for production APIs.

Microservices

Health checking, circuit breakers, and sticky sessions for stateful services.

WebSocket Apps

Full WebSocket proxying for real-time applications like chat and gaming.

Edge Proxies

TLS termination, IP filtering, and access logging at the edge.

Next Steps

Community & Support