Seamless High Availability in MySQL Database Systems: An Advanced Implementation of ProxySQL, Orchestrator, and Keepalived

High availability (HA) in MySQL databases remains a critical challenge, particularly due to risks such as single point of failure (SPOF) and limited scalability in existing setups. Previous studies have explored various approaches to address these issues. One study implemented ProxySQL and Orchestrator for query routing and failover but relied on a single server instance, creating a SPOF that could disrupt client access during failures. Another study implemented HAProxy to balance traffic and couple database servers with specific web applications. While effective for certain use cases, this approach reduced resource efficiency and scalability, because it relies on HTTP protocol and database server are coupled to each application, making it less suitable for dynamic, shared environments requiring high flexibility. These limitations highlight the need for a more robust and scalable HA solution. This paper proposes an improved HA architecture that eliminates SPOFs and enhances scalability by combining redundant ProxySQL instances synchronized with Keepalived managed Virtual IP (VIP) and automated failover using Orchestrator. The architecture allows shared database resources across multiple applications while decoupling them from specific application servers. Test results confirm the system's ability to maintain seamless failover, consistent query routing, and uninterrupted client access through dynamic Virtual IP reassignment to backup server. By addressing the issues of previous studies, this solution provides a practical and scalable framework to achieve high availability in the MySQL cluster by combing ProxySQL, Orchestrator, and Keepalived, making it suitable for modern enterprise environments.

Authors

Institutions

Publication Details

Published
2025-02-03
DOI
https://doi.org/10.1109/icadeis65852.2025.10933444
Primary Topic
Cloud Computing and Resource Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Seamless High Availability in MySQL Database Systems: An Advanced Implementation of ProxySQL, Orchestrator, and Keepalived

Benfano Soewito, Jeremy Loa
Cloud Computing and Resource Management
article

Seamless High Availability in MySQL Database Systems: An Advanced Implementation of ProxySQL, Orchestrator, and Keepalived

Benfano Soewito, Jeremy Loa
article en

Abstract

High availability (HA) in MySQL databases remains a critical challenge, particularly due to risks such as single point of failure (SPOF) and limited scalability in existing setups. Previous studies have explored various approaches to address these issues. One study implemented ProxySQL and Orchestrator for query routing and failover but relied on a single server instance, creating a SPOF that could disrupt client access during failures. Another study implemented HAProxy to balance traffic and couple database servers with specific web applications. While effective for certain use cases, this approach reduced resource efficiency and scalability, because it relies on HTTP protocol and database server are coupled to each application, making it less suitable for dynamic, shared environments requiring high flexibility. These limitations highlight the need for a more robust and scalable HA solution. This paper proposes an improved HA architecture that eliminates SPOFs and enhances scalability by combining redundant ProxySQL instances synchronized with Keepalived managed Virtual IP (VIP) and automated failover using Orchestrator. The architecture allows shared database resources across multiple applications while decoupling them from specific application servers. Test results confirm the system's ability to maintain seamless failover, consistent query routing, and uninterrupted client access through dynamic Virtual IP reassignment to backup server. By addressing the issues of previous studies, this solution provides a practical and scalable framework to achieve high availability in the MySQL cluster by combing ProxySQL, Orchestrator, and Keepalived, making it suitable for modern enterprise environments.

Binus University (ID)
Climate action
Openalex Percentile: Top 93%
Cloud Computing and Resource Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Seamless High Availability in MySQL Database Systems: An Advanced Implementation of ProxySQL, Orchestrator, and Keepalived — Benfano Soewito, Jeremy Loa · (2025) | TGRS Research Map | TGRS