Skip to content

bas3line/ultrabalancer

UltraBalancer

License: MIT Rust CI

Production-grade, high-performance load balancer written in Rust. Capable of 500K+ requests per second.

Installation

Quick Install (Recommended)

curl -L https://package.ultrabalancer.com/install.sh | bash

From Source

cargo install ultrabalancer

Or build from source:

cargo build --release

Quick Start

ultrabalancer start round-robin 10.0.1.10:8080 10.0.1.11:8080

With config file:

ultrabalancer -c config.yaml

Package Server

Self-hosted package distribution at package.ultrabalancer.com

Available packages:

  • Linux x86_64
  • Linux ARM64
  • macOS x86_64
  • macOS ARM64 (Apple Silicon)
  • Windows x86_64

Documentation

Full documentation available at docs.ultrabalancer.com

Performance

Hardware Requests/sec Avg Latency P99 Latency
Apple M4 Pro ~850,000 0.12ms 0.45ms
Apple M2 ~620,000 0.18ms 0.68ms
Apple M1 ~580,000 0.21ms 0.75ms
Intel i5-12400 ~420,000 0.28ms 0.95ms
RTX 2050 Laptop ~380,000 0.32ms 1.10ms

Benchmark: 10,000 concurrent connections, 30s duration

Features

  • Multiple algorithms: Round Robin, Least Connections, IP Hash, Random, Weighted
  • Health checking with automatic failover
  • Real-time metrics at /metrics and /health
  • Admin API for dynamic backend management
  • Async Tokio runtime for maximum performance

Links

License

MIT License - see LICENSE file.

About

High-performance load balancer written in Rust. Built for speed, reliability, and ease of use.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages