Tagged articles

Database Failover

2 articles · Page 1 of 1
Java Backend Technology
Java Backend Technology
Feb 19, 2025 · Backend Development

Mastering Dynamic MySQL Master‑Slave Switching in SpringBoot with AOP

Learn how to implement dynamic MySQL master‑slave switching in a SpringBoot project using AOP and custom annotations, ensuring automatic failover to the master when a slave fails, with detailed configuration, code examples, and guidance for multiple data sources and Oracle integration.

AOPDatabase FailoverMaster‑Slave
0 likes · 15 min read
Mastering Dynamic MySQL Master‑Slave Switching in SpringBoot with AOP
Java High-Performance Architecture
Java High-Performance Architecture
Aug 11, 2016 · Databases

Understanding MHA: Master High Availability for MySQL Clusters

MHA (Master High Availability) ensures MySQL cluster resilience by monitoring the master, automatically promoting the most up‑to‑date slave as a new master during failures, offering fast failover, strong data safety, easy extensibility, and multi‑cluster management, while noting its limitations.

Database FailoverHigh AvailabilityMHA
0 likes · 4 min read
Understanding MHA: Master High Availability for MySQL Clusters