pgraft
PostgreSQL Raft Consensus Extension
PostgreSQL extensions for production use
Leader election uses quorum-based voting. Uses etcd-io/raft for deterministic results.
Replication persists all state changes across nodes. Survives crashes and network partitions.
Split-brain prevention uses Raft consensus. Ensures one leader per term.
Failover completes in under one second. No service interruption during failover.
Uses etcd-io/raft library. Same library used by etcd and Kubernetes.
Products
PostgreSQL extensions and tools for AI, high availability, connection pooling, monitoring, and multi-protocol support.
pgraft
Raft consensus for PostgreSQL with automatic leader election and split-brain prevention.
- •Automatic leader election
- •Split-brain prevention
- •Zero-downtime failover
- •etcd-io/raft based
- •Background worker architecture
pgBalancer
Connection pooler with load balancing, REST API, and machine learning query routing.
- •AI-powered load balancing
- •REST API (17 endpoints)
- •MQTT event streaming
- •Connection pooling
- •YAML configuration
FauxDB
Dual-protocol database supporting MongoDB and MySQL wire protocols on PostgreSQL.
- •MongoDB wire protocol
- •MySQL wire protocol
- •PostgreSQL ACID guarantees
- •SQL query translator
- •Rust-powered performance
pg_stat_insights
Performance analytics extension with query analysis and optimization recommendations.
- •Query performance analysis
- •Table and index statistics
- •Cache hit ratio monitoring
- •Optimization recommendations
- •52 metrics across 11 views
pgSentinel
Monitoring platform with Grafana dashboards, Prometheus integration, and real-time metrics.
- •Grafana dashboards
- •Prometheus integration
- •Real-time metrics
- •Alerting system
- •Docker deployment