Tag

Read-Write Splitting

1 views collected around this technical thread.

Architect's Guide
Architect's Guide
Jun 15, 2025 · Backend Development

Mastering Read‑Write Splitting in Spring Boot: A Complete Guide

This article explains how to implement database read‑write separation in a Spring Boot application by configuring master and slave data sources, creating a routing datasource, managing thread‑local context, and using an AOP‑based annotation to switch between read and write operations.

AOPDataSource RoutingDatabase
0 likes · 10 min read
Mastering Read‑Write Splitting in Spring Boot: A Complete Guide
Java Captain
Java Captain
May 14, 2025 · Databases

Guide to Setting Up ShardingSphere with Docker for Database Sharding, Read‑Write Splitting, and SpringBoot Integration

This guide demonstrates how to set up Docker‑based MySQL instances, configure ShardingSphere‑Proxy for database sharding and read‑write splitting, and integrate ShardingSphere‑JDBC with SpringBoot 2.x using YAML configurations and Maven dependencies, providing complete code snippets and default connection details.

DockerMySQLRead-Write Splitting
0 likes · 11 min read
Guide to Setting Up ShardingSphere with Docker for Database Sharding, Read‑Write Splitting, and SpringBoot Integration
Cognitive Technology Team
Cognitive Technology Team
May 1, 2025 · Databases

MySQL Optimization Strategies for Read‑Heavy and Write‑Heavy Scenarios

This article systematically examines MySQL optimization techniques for both read‑many/write‑few and write‑many/read‑few business scenarios, covering architecture design, caching, sharding, asynchronous processing, monitoring, and emerging NewSQL/HTAP solutions to achieve high performance, consistency, and scalability.

Database OptimizationMySQLPerformance Tuning
0 likes · 9 min read
MySQL Optimization Strategies for Read‑Heavy and Write‑Heavy Scenarios
macrozheng
macrozheng
Oct 17, 2024 · Databases

How MySQL Router 8.2 Enables Seamless Read/Write Splitting

MySQL Router 8.2 now supports automatic read/write splitting for InnoDB ReplicaSets, allowing reads to be routed to replicas and writes to the primary without any application changes, thereby improving performance and scalability.

InnoDB ReplicaSetMySQLRead-Write Splitting
0 likes · 5 min read
How MySQL Router 8.2 Enables Seamless Read/Write Splitting
Selected Java Interview Questions
Selected Java Interview Questions
Oct 10, 2024 · Databases

MySQL Router 8.2 Read/Write Splitting with InnoDB ReplicaSet

This article explains how MySQL Router 8.2 enables automatic read/write splitting for InnoDB ReplicaSet deployments, showing configuration steps, code examples, and the benefits of directing reads to replicas and writes to the primary without modifying application code.

DatabaseInnoDB ReplicaSetMySQL
0 likes · 5 min read
MySQL Router 8.2 Read/Write Splitting with InnoDB ReplicaSet
Top Architect
Top Architect
Jul 22, 2024 · Databases

MySQL Router 8.2 Read/Write Splitting with InnoDB ReplicaSet

This article demonstrates how MySQL Router 8.2 can perform automatic read/write splitting using an InnoDB ReplicaSet, shows the required configuration, explains the behavior of read and write connections, and concludes with the benefits of the feature while also containing promotional material for unrelated services.

DatabaseInnoDBMySQL
0 likes · 7 min read
MySQL Router 8.2 Read/Write Splitting with InnoDB ReplicaSet
Zhuanzhuan Tech
Zhuanzhuan Tech
Jun 12, 2024 · Databases

Designing a Scalable Persistence Layer: Sharding, Query Optimization, and Read/Write Splitting

This article shares a practical case study on how a coupon‑distribution system evolved from a single‑table design to a sharded, multi‑database architecture with query optimization, ElasticSearch integration, and read/write splitting to handle growing data volume, complex queries, and increasing request traffic.

ElasticsearchRead-Write SplittingRedis
0 likes · 12 min read
Designing a Scalable Persistence Layer: Sharding, Query Optimization, and Read/Write Splitting
Laravel Tech Community
Laravel Tech Community
May 22, 2024 · Databases

Laravel Read/Write Database Separation Configuration Guide

This article explains how to set up read/write database separation in Laravel by configuring multiple database connections in the config/database.php file, covering both identical and distinct credentials for read and write servers, and describing the purpose of the sticky option to ensure data consistency during a request.

Database ConfigurationLaravelPHP
0 likes · 4 min read
Laravel Read/Write Database Separation Configuration Guide
Architect's Guide
Architect's Guide
Aug 3, 2023 · Backend Development

Robustdb: A Lightweight Client‑Side Read‑Write Splitting Solution for MySQL

This article introduces Robustdb, a compact Java library that implements client‑side read‑write splitting and method‑level routing for MySQL databases, explains its architecture, core code components, dynamic read‑pool allocation strategy, and performance comparison with Atlas, while providing practical implementation details and configuration guidance.

JavaRead-Write SplittingSpring
0 likes · 15 min read
Robustdb: A Lightweight Client‑Side Read‑Write Splitting Solution for MySQL
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 7, 2023 · Backend Development

Mastering Read‑Write Splitting in Spring Boot 2.2 with AOP

This guide demonstrates how to implement a one‑write‑multiple‑read data source strategy in Spring Boot 2.2 using AOP, configurable pointcuts, custom routing, load‑balancing algorithms, and a reusable starter that can be packaged as a Maven jar.

AOPDataSourceJava
0 likes · 9 min read
Mastering Read‑Write Splitting in Spring Boot 2.2 with AOP
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 20, 2023 · Databases

DBLE 3.23.04.0 Release Notes: New Features, Bug Fixes, and LTS Updates

The DBLE 3.23.04.0 release introduces six new or refactored features, fixes over five critical community issues and more than a hundred bugs, adjusts TCP keep‑alive parameters, adds experimental configuration support, and provides detailed LTS version updates and incompatibility notes for users.

DBLEDatabase MiddlewareRead-Write Splitting
0 likes · 8 min read
DBLE 3.23.04.0 Release Notes: New Features, Bug Fixes, and LTS Updates
IT Xianyu
IT Xianyu
Apr 19, 2023 · Databases

Robustdb: A Lightweight Read‑Write Splitting Solution for Java Applications

This article introduces Robustdb, a compact open‑source read‑write separation framework built with about ten classes and two thousand lines of code, explains its architecture, routing logic, method‑level transaction handling, dynamic data‑source management, and performance advantages over existing solutions like Atlas.

DataSourceJavaRead-Write Splitting
0 likes · 15 min read
Robustdb: A Lightweight Read‑Write Splitting Solution for Java Applications
360 Tech Engineering
360 Tech Engineering
Apr 19, 2023 · Databases

ProxySQL Overview: Core Features, Configuration Layers, and Practical Use Cases

This article introduces ProxySQL as a high‑performance MySQL proxy, explains its request flow, multi‑layer configuration system, key tables, and demonstrates practical scenarios such as read‑write splitting, hostgroup weight tuning, replication‑lag handling, blacklist/whitelist rules, and firewall protection.

Database ProxyMySQLProxySQL
0 likes · 26 min read
ProxySQL Overview: Core Features, Configuration Layers, and Practical Use Cases
Wukong Talks Architecture
Wukong Talks Architecture
Mar 7, 2023 · Databases

Ensuring MySQL Slave Node Availability with Keepalived and Read/Write Splitting

This article documents a MySQL read‑write splitting architecture, investigates an unexpected slave‑node crash, and provides a step‑by‑step guide to using Keepalived for monitoring and automatically restarting the MySQL container to achieve high availability of the replica.

DockerHigh AvailabilityKeepalived
0 likes · 7 min read
Ensuring MySQL Slave Node Availability with Keepalived and Read/Write Splitting
macrozheng
macrozheng
Nov 25, 2022 · Databases

How We Scaled a Ride‑Hailing Order System: From Single DB to Sharded MySQL

This article chronicles the step‑by‑step evolution of a ride‑hailing order service's data layer, covering the shift from a single SQLServer database to read‑write separation, business‑domain sharding, caching, message queues, a self‑built sharding component, and a data exchange platform for smooth migration and ongoing scalability.

Message QueueMySQL migrationRead-Write Splitting
0 likes · 14 min read
How We Scaled a Ride‑Hailing Order System: From Single DB to Sharded MySQL
Top Architect
Top Architect
Nov 15, 2022 · Backend Development

Scaling a Personal Blog: Caching, Load Balancing, Read/Write Splitting, Sharding, and NewSQL

This article explains how to transform a simple personal‑blog backend into a high‑performance, horizontally scalable system by introducing caching with Redis, load balancing with Nginx/LVS, read/write separation, database sharding, and modern NewSQL solutions such as TiDB, while also discussing related challenges like cache consistency and data migration.

Load BalancingMySQLNewSQL
0 likes · 14 min read
Scaling a Personal Blog: Caching, Load Balancing, Read/Write Splitting, Sharding, and NewSQL
Architect's Guide
Architect's Guide
Oct 31, 2022 · Databases

Robustdb: A Client‑Side Read‑Write Splitting Solution for MySQL

This article introduces Robustdb, a lightweight client‑side read‑write splitting framework built with only a dozen classes, explains its architecture, routing logic, method‑level transaction handling, dynamic data‑source management, and presents performance comparisons with the legacy Atlas proxy.

Dynamic DataSourceJavaRead-Write Splitting
0 likes · 17 min read
Robustdb: A Client‑Side Read‑Write Splitting Solution for MySQL
Top Architect
Top Architect
Oct 26, 2022 · Backend Development

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

This article explains how to achieve database read‑write separation in high‑concurrency Java applications by configuring master and slave data sources, implementing a routing DataSource, managing context with ThreadLocal, defining a custom @DataSourceSwitcher annotation, and applying AOP to switch between read and write operations.

AOPDataSource RoutingJava
0 likes · 11 min read
Implementing Database Read‑Write Splitting with Spring Boot and Dynamic DataSource Routing
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 11, 2022 · Databases

Configuring MariaDB MaxScale for MySQL Read/Write Splitting

This guide explains how to deploy and configure MariaDB MaxScale as a database proxy to achieve MySQL read/write splitting, covering topology design, user creation, installation steps, configuration files, service setup, and verification of routing behavior.

Database ProxyMariaDBMaxScale
0 likes · 11 min read
Configuring MariaDB MaxScale for MySQL Read/Write Splitting
Top Architect
Top Architect
Sep 30, 2022 · Databases

RobustDB: A Lightweight Client‑Side Read‑Write Splitting Solution for Atlas

This article introduces RobustDB, a client‑side read‑write splitting framework that replaces the problematic Atlas proxy by routing SQL statements to master or slave databases based on DML/DQL detection, using Spring, AspectJ, thread‑local context, and dynamic data‑source management.

JavaRead-Write SplittingSQL
0 likes · 19 min read
RobustDB: A Lightweight Client‑Side Read‑Write Splitting Solution for Atlas