Skip to main content

What is UltraBalancer?

UltraBalancer is a modern, high-performance load balancer built with Rust. It combines extreme throughput with an exceptional developer experience — everything you need to distribute traffic across your backends.

High Performance

Handle 500k+ RPS with lock-free data structures and zero-copy I/O

One-Command Setup

ultrabalancer dashboard --start - instant Grafana + Prometheus

7 Algorithms

Round-robin, least-connections, IP-hash, weighted, random, power-of-two, fastest-response

Production Ready

TLS termination, rate limiting, sticky sessions, circuit breakers

Features

  • Round Robin - Equal distribution across backends
  • Least Connections - Route to least busy backend
  • IP Hash - Consistent hashing for session affinity
  • Weighted - Priority-based distribution
  • Random - Stochastic distribution
  • Power of Two - Pick 2 random, use least loaded
  • Fastest Response - Route to fastest recent responder
  • HTTP/1.1 with keep-alive connection pooling
  • HTTP/2 multiplexing
  • WebSocket full-duplex proxying
  • TLS termination with rustls
  • Response caching with TTL support
  • Gzip, Brotli, and Zstd compression
  • Graceful shutdown with connection draining
  • Real-time metrics (p50, p95, p99 latencies)
  • Automatic health checking
  • Circuit breaker pattern
  • Retry with exponential backoff
  • Sticky sessions via cookies
  • Global and per-IP rate limiting
  • IP whitelist/blacklist with CIDR support
  • X-API-Key authentication for admin API
  • Request ID tracking for distributed tracing
  • Prometheus metrics endpoint at /prometheus
  • JSON metrics at /metrics
  • Access logging (combined and JSON formats)
  • Hot configuration reload

Why UltraBalancer?

Blazing Fast

500k+ RPS with zero-copy I/O and HTTP/2 multiplexing

All-in-One

Caching, compression, rate limiting, TLS — built in, no plugins

Easy Start

Single command to start. Config files for production.

Quick Example

# Start load balancing across two backends
ultrabalancer start round-robin backend1:8080 backend2:8080 -p 80

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

# Start with a config file
ultrabalancer start -c /etc/ultrabalancer/config.yaml

One-Click Install

# Install UltraBalancer with a single command
curl -sSL https://package.ultrabalancer.com/install.sh | sh
That’s it! The installer automatically detects your platform (Linux/macOS/Windows), downloads the latest version, and sets up the binary. See all installation options →

One-Command Monitoring

# Start Grafana + Prometheus with one command
ultrabalancer dashboard --start
Learn more about monitoring →

Use Cases

High-Traffic APIs

Handle 500k+ RPS with built-in caching, compression, and rate limiting

Microservices

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

Real-Time Apps

Full WebSocket proxying for chat, gaming, and live updates

Edge Deployments

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

Performance

MetricUltraBalancerNGINX
RPS (100 conn)18,72221,899
Latency (p50)38.93ms34.47ms
Setup Timeultrabalancer dashboard --startHours of config
UltraBalancer delivers competitive performance with superior developer experience and built-in monitoring. See benchmark details →

Get Started

Resources