Implementation of High Availability Based on Load Balancing and Failover Method in E-commerce Using MySQL Database
DOI:
https://doi.org/10.46799/ajesh.v3i10.419Keywords:
High Availability, Load Balancing, Failover, Orchestrator, Proxysql, MYSQLAbstract
The rapid growth of e-commerce has brought about challenges in managing traffic loads and ensuring the availability of database servers. One critical issue is what happens when the main database server fails, potentially leading to downtime or data loss. This research aims to address these problems by optimizing server resource distribution and implementing data replication across multiple database servers. The goal is to enhance system efficiency, prevent server overloads, ensure data availability, and minimize downtime or data loss when server failures occur.This research utilizes a multi-stage methodology. First, data collection was conducted to gather relevant information. In the second stage, a needs analysis was performed to identify system requirements. The third stage involved designing the system architecture, including the creation of entity-relationship diagrams (ERD), flowcharts, and network topologies. In the final stage, the system was implemented through database replication and the application of failover methods.The results demonstrate that the failover mechanism operates effectively, ensuring that data is successfully replicated across all database servers. This confirms that the system achieves high availability and minimizes the risk of data loss or service downtime. The implications of this research provide a reliable solution for improving the resilience and performance of e-commerce systems, particularly in managing database server failures.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Asian Journal of Engineering, Social and Health

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike 4.0 International. that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.



