Tag

ReadWriteSplitting

0 views collected around this technical thread.

Raymond Ops
Raymond Ops
Feb 9, 2025 · Databases

How to Set Up MySQL Master‑Slave Replication and Read/Write Splitting with MySQL‑Proxy

This guide walks through building a three‑node lab, installing MariaDB, configuring master‑slave binary‑log replication, creating a test database, and then deploying MySQL‑Proxy on an application server to achieve transparent read/write splitting between the master and slave.

DatabaseAdministrationMySQLReadWriteSplitting
0 likes · 11 min read
How to Set Up MySQL Master‑Slave Replication and Read/Write Splitting with MySQL‑Proxy
Architect's Guide
Architect's Guide
Oct 4, 2024 · Databases

Using MySQL Router 8.2 for Read/Write Splitting with InnoDB ReplicaSet

The article demonstrates how MySQL Router 8.2 enables transparent read/write splitting for an InnoDB ReplicaSet, showing the architecture, configuration steps, connection behavior, and the generated routing settings that improve database performance without modifying application code.

DatabasePerformanceInnoDBMySQL
0 likes · 4 min read
Using MySQL Router 8.2 for Read/Write Splitting with InnoDB ReplicaSet
Java Tech Enthusiast
Java Tech Enthusiast
Aug 12, 2024 · Databases

MySQL InnoDB ReplicaSet and Read/Write Splitting with Router 8.2

The article explains how MySQL Router 8.2 automatically splits read and write traffic in an InnoDB ReplicaSet, routing reads to asynchronous replicas and writes to the primary, providing performance, scalability, and simplified management without any application‑level changes.

DatabaseOptimizationInnoDBMySQL
0 likes · 3 min read
MySQL InnoDB ReplicaSet and Read/Write Splitting with Router 8.2
Selected Java Interview Questions
Selected Java Interview Questions
Jul 9, 2024 · Databases

MySQL Router 8.2 Read/Write Splitting with InnoDB ReplicaSet

This article explains how MySQL Router 8.2 enables read/write splitting for an InnoDB ReplicaSet, showing configuration steps, routing behavior, sample code, and the resulting performance and management benefits without requiring application changes.

DatabasePerformanceInnoDBMySQL
0 likes · 5 min read
MySQL Router 8.2 Read/Write Splitting with InnoDB ReplicaSet
Python Programming Learning Circle
Python Programming Learning Circle
Nov 23, 2023 · Databases

Using MySQL Connector/Python with MySQL 8.2 Read/Write Splitting and InnoDB Cluster

This tutorial demonstrates how to enable and use MySQL 8.2 read/write splitting with MySQL‑Connector/Python in an InnoDB Cluster, covering cluster status inspection, autocommit configuration, routing attributes, DML testing, and transaction handling.

ConnectorDatabaseInnoDBCluster
0 likes · 10 min read
Using MySQL Connector/Python with MySQL 8.2 Read/Write Splitting and InnoDB Cluster
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 20, 2023 · Databases

Using MySQL 8.2 Read/Write Splitting with MySQL Connector/Python

This tutorial demonstrates how to enable MySQL 8.2's transparent read/write splitting with InnoDB Cluster, configure MySQL Router, use MySQL Connector/Python for read‑only and read‑write queries, test DML statements, and manage transactions across primary and secondary nodes.

ConnectorDatabaseInnoDBCluster
0 likes · 11 min read
Using MySQL 8.2 Read/Write Splitting with MySQL Connector/Python
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 30, 2023 · Databases

MySQL 8.2 Transparent Read/Write Splitting with MySQL Router

MySQL 8.2 introduces transparent read/write splitting via MySQL Router, allowing automatic routing of read traffic to replica instances and write traffic to the primary source without any changes to the application, demonstrated with a simple InnoDB ReplicaSet deployment and configuration examples.

ConfigurationDatabasePerformanceInnoDBReplicaSet
0 likes · 6 min read
MySQL 8.2 Transparent Read/Write Splitting with MySQL Router
Top Architect
Top Architect
Dec 15, 2022 · Databases

Implementing Database Read‑Write Separation with Spring Boot and Dynamic DataSource Routing

This article explains how to achieve database read‑write separation in high‑concurrency scenarios using Spring Boot, Druid connection pool, dynamic DataSource routing, a ThreadLocal context holder, custom annotations, and AOP, providing complete configuration code and usage examples for both read and write operations.

AOPDataSourceRoutingDatabase
0 likes · 12 min read
Implementing Database Read‑Write Separation with Spring Boot and Dynamic DataSource Routing
Code Ape Tech Column
Code Ape Tech Column
May 25, 2022 · Databases

Implementing MySQL Read/Write Splitting with Sharding-JDBC Using Docker

This tutorial explains why read/write splitting is useful, shows step‑by‑step how to build a MySQL master‑slave cluster with Docker, configure the master and slave instances, and then use Sharding‑JDBC to transparently route writes to the master and reads to the slave.

DatabaseDockerMasterSlave
0 likes · 10 min read
Implementing MySQL Read/Write Splitting with Sharding-JDBC Using Docker
IT Services Circle
IT Services Circle
Mar 12, 2022 · Databases

Understanding MySQL Master‑Slave Replication and Read/Write Splitting

This article explains the basics of MySQL master‑slave replication, illustrates how read/write splitting works to alleviate performance bottlenecks, and shares practical test results showing reduced latency on the master and improved overall throughput when directing reads to replica servers.

DatabasePerformanceMySQLReadWriteSplitting
0 likes · 4 min read
Understanding MySQL Master‑Slave Replication and Read/Write Splitting
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 5, 2022 · Databases

Understanding ProxySQL Configuration Tables for MySQL HA (Read/Write Splitting and Failover)

This article explains ProxySQL's built‑in databases, key configuration tables such as mysql_servers, mysql_users, mysql_replication_hostgroups, mysql_group_replication_hostgroups, and mysql_query_rules, and demonstrates how to set up read/write splitting and automatic failover for MySQL primary‑replica and group replication environments.

DatabaseProxyHAMySQL
0 likes · 14 min read
Understanding ProxySQL Configuration Tables for MySQL HA (Read/Write Splitting and Failover)
Selected Java Interview Questions
Selected Java Interview Questions
Jul 9, 2020 · Databases

Implementing MySQL Read/Write Splitting with Spring Boot, MyBatis, and MyCat Middleware

This tutorial explains two approaches to achieve MySQL read/write splitting—first by manually implementing routing logic in Spring Boot with MyBatis interceptors and dynamic data sources, and second by configuring the MyCat middleware for automatic load balancing, fault‑tolerance, and multi‑node support, complete with code samples and configuration files.

DatabaseMyBatisMySQL
0 likes · 26 min read
Implementing MySQL Read/Write Splitting with Spring Boot, MyBatis, and MyCat Middleware
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 28, 2019 · Databases

Implementing Read/Write Splitting with ShardingSphere in a Spring Boot Application

This article explains how to implement database read‑write splitting in a Spring Boot application using ShardingSphere, covering the creation of master‑slave MySQL databases, Maven dependency setup, multi‑data‑source configuration, load‑balance algorithms, and handling replication lag with HintManager.

DatabaseReplicationJdbcTemplateMySQL
0 likes · 8 min read
Implementing Read/Write Splitting with ShardingSphere in a Spring Boot Application
Practical DevOps Architecture
Practical DevOps Architecture
Mar 8, 2018 · Databases

Step-by-Step Guide to Configuring MySQL Master‑Slave Replication and Read/Write Splitting

This tutorial explains how to set up two MySQL servers—one as master for writes and one as slave for reads—by configuring replication accounts, binary logging, server IDs, firewall rules, and then demonstrates read/write separation using a lightweight PHP framework.

ConfigurationDatabaseMaster‑Slave
0 likes · 8 min read
Step-by-Step Guide to Configuring MySQL Master‑Slave Replication and Read/Write Splitting