π
High Availability Database Cluster
Production-ready MySQL/MariaDB cluster with automatic failover, load balancing, and disaster recovery.
## π§ Tech Stack
MariaDB ClusterProxySQLKeepalivedHAProxyPrometheusGrafanaAnsibleLinux Containers
## π Workflow
infrastructure
Cluster Provisioning
Deploy MariaDB cluster nodes
load_balancer
ProxySQL Setup
Configure read/write splitting and failover
ha
Keepalived VIP
Virtual IP for high availability
monitoring
Health Monitoring
Monitor cluster health and performance
backup
Automated Backups
Daily incremental and weekly full backups
## β¨ Features
- β’3-node MariaDB Galera cluster
- β’Automatic failover with ProxySQL
- β’Read/write load balancing
- β’Keepalived virtual IP management
- β’Real-time health monitoring
- β’Automated backup and recovery
- β’SSL encryption for all connections
- β’Performance monitoring with Grafana
- β’Disaster recovery procedures
- β’Zero-downtime maintenance
## π― Results
- β99.99% uptime achieved
- βZero data loss in 24 months of operation
- βHandles 50,000+ concurrent connections
- β10TB+ database size managed
- βAutomatic recovery from node failures
- βR$ 1.2M in cost savings vs cloud alternatives
## π§© Use Case
Critical business applications require 24/7 availability. This cluster ensures that even if one database server fails, the system continues operating without interruption.
## π Related Projects
π±Instagram Content Automation
Automated pipeline for generating and publishing Instagram content using generative AI and...
n8nGemini APICloudinary+1
ποΈRAG System - Direito TributΓ‘rio (ITCD)
Intelligent RAG system for tax law consultation with vector search and multi-format docume...
n8nPostgreSQL pgvectorOpenAI Embeddings+4
πΊοΈGoogle Maps Lead Generation System
Advanced lead generation system that scrapes business data from Google Maps and enriches c...
n8nGoogle Maps APIFirecrawl+3