Watch
1
0
Fork
You've already forked ultrabalancer
0
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%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-02-15 18:54:54 +05:30
.github/workflows fix: compile errors and update CI workflow 2026-02-15 18:02:18 +05:30
dashboard feat: add Admin API with key auth, dashboard command, and benchmarks 2026-02-14 21:10:22 +05:30
examples fix: compile errors and update CI workflow 2026-02-15 18:02:18 +05:30
release-packages docs: update README with package server and installation instructions 2026-02-15 18:54:54 +05:30
src fix: compile errors and update CI workflow 2026-02-15 18:02:18 +05:30
.gitignore Initial commit: UltraBalancer v2.0.0 2026-01-09 22:17:56 +05:30
Cargo.lock feat: v2.0.1 - middleware stack, caching, compression, HTTP/2, TLS 2026-01-10 16:10:15 +05:30
Cargo.toml fixes for 2.0.1 2026-01-10 21:54:08 +05:30
CODE_OF_CONDUCT.md feat: workflows readme.md and other shi 2026-02-15 17:47:59 +05:30
CONTRIBUTING.md feat: workflows readme.md and other shi 2026-02-15 17:47:59 +05:30
LICENSE Initial commit: UltraBalancer v2.0.0 2026-01-09 22:17:56 +05:30
Makefile Initial commit: UltraBalancer v2.0.0 2026-01-09 22:17:56 +05:30
README.md docs: update README with package server and installation instructions 2026-02-15 18:54:54 +05:30
SECURITY.md feat: workflows readme.md and other shi 2026-02-15 17:47:59 +05:30

UltraBalancer

License: MIT Rust CI

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

Installation

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

License

MIT License - see LICENSE file.