mirror of
https://github.com/bas3line/ultrabalancer.git
synced 2026-07-21 09:55:57 +00:00
No description
- Rust 99%
- Makefile 0.5%
- Shell 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| dashboard | ||
| examples | ||
| release-packages | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| SECURITY.md | ||
UltraBalancer
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
/metricsand/health - Admin API for dynamic backend management
- Async Tokio runtime for maximum performance
Links
- Website: ultrabalancer.com
- Package Server: package.ultrabalancer.com
- Docs: docs.ultrabalancer.com
- Contact: [email protected]
- GitHub: github.com/bas3line/ultrabalancer
License
MIT License - see LICENSE file.