PostgreSQL AI Load Balancer
Modern connection pooler with AI-powered load balancing, REST API management, and MQTT event streaming. Intelligent query routing uses machine learning to keep PostgreSQL clusters responsive under any workload.
Key Capabilities
AI Load Balancing
Machine learning algorithms analyze query patterns and server health for optimal routing.
REST API Management
17 HTTP/JSON endpoints for cluster orchestration, health checks, and automation.
Connection Pooling
Session, transaction, and statement pooling with configurable health checks.
MQTT Event Streaming
Push real-time status, failover, and metric events to observability pipelines.
Documentation Library
Getting Started
Installation, quick start, and baseline configuration for pgBalancer.
- Installation Guide
Build and install pgBalancer on popular platforms.
- Quick Start
Launch with sample pools and verify routing in minutes.
- Configuration
Tune core parameters, authentication, and pool definitions.
Core Features
Load balancing, pooling, and high availability capabilities.
- AI Load Balancing
Explore machine learning routing strategies and tuning knobs.
- Connection Pooling
Session lifecycle management, health checks, and scaling tips.
- High Availability
Failover policies, watchdog integration, and redundancy patterns.
Management & Monitoring
Operational tooling, APIs, and observability integrations.
- REST API
Automate operations with structured API calls and examples.
- CLI Management (bctl)
Complete command-line reference for day-two operations.
- Metrics & Monitoring
Expose metrics, dashboards, and alert strategies.
Advanced Topics
Architecture fundamentals, troubleshooting, and internals.
- Architecture & Internals
Worker lifecycle, routing pipeline, and AI model updates.
- Monitoring Integration
Integrate with Prometheus, Grafana, and external APM tools.
Ready to Get Started?
Follow the guided installation to deploy pgBalancer, then star the project to receive release updates and roadmap news.