Full-Stack Internet Architecture
Aug 28, 2020 · Databases
Understanding Master/Slave Read‑Write Splitting and Data Consistency with Sharding‑JDBC
This article explains the data‑delay problem inherent in asynchronous MySQL master‑slave replication, demonstrates how Sharding‑JDBC provides read‑write splitting and forced‑master routing via HintManager, and offers configuration and code examples as well as alternative async‑query strategies for real‑time consistency.
HintManagerJavaMaster‑Slave
0 likes · 8 min read