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 + Prometheus7 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
Load Balancing
Load Balancing
- 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
Protocol Support
Protocol Support
- HTTP/1.1 with keep-alive connection pooling
- HTTP/2 multiplexing
- WebSocket full-duplex proxying
- TLS termination with rustls
Performance
Performance
- Response caching with TTL support
- Gzip, Brotli, and Zstd compression
- Graceful shutdown with connection draining
- Real-time metrics (p50, p95, p99 latencies)
Reliability
Reliability
- Automatic health checking
- Circuit breaker pattern
- Retry with exponential backoff
- Sticky sessions via cookies
Security
Security
- 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
Operations
Operations
- 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
One-Click Install
One-Command Monitoring
- Grafana: http://localhost:3000 (admin + auto-generated password)
- Prometheus: http://localhost:9090
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
| Metric | UltraBalancer | NGINX |
|---|---|---|
| RPS (100 conn) | 18,722 | 21,899 |
| Latency (p50) | 38.93ms | 34.47ms |
| Setup Time | ultrabalancer dashboard --start | Hours of config |
Get Started
Quickstart
Get running in 2 minutes
Installation
Install on your system
Configuration
Configure for production
Algorithms
Choose the right algorithm