MySQL High Availability via Master-Slave Replication and Read-Write Splitting

Toscalability of database performance is critical in high-concurrency environments, especially for internet-scale applications. A common approach involves setting up one master and multiple slave instances, with write operations targeting only the master and read operations distributed across slaves. This architecture relies on binlog-based rep ...

Posted on Mon, 02 Nov 2026 16:24:28 +0000 by sglane

Minimal Sharding Setup with Spring Boot 3 and ShardingSphere 5.2

Table Architecture Two datbaases (db_shard_0 and db_shard_1) each contain four user_info tables: user_info_0 through user_info_3. Dependencies <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>o ...

Posted on Fri, 23 Oct 2026 16:25:28 +0000 by Coldman

Database Sharding and User Registration Implementation for a Train Booking System

User Table Structure The original table structure is designed as follows. Due to the large user base, database sharding becomes necessary. Sharding Strategy Design Based on the system design assumptions, the 12306 system needs to support approximately 1 billion registered users, with roughly 10 million new users annually. Before implementing da ...

Posted on Sat, 20 Jun 2026 16:47:10 +0000 by ari_aaron

Understanding and Implementing ShardingSphere-JDBC for Distributed Databases

When discussing distributed database middleware, Apache ShardingSphere-JDBC is a prominent solution. This guide delves into its core concepts and practical applications. The ShardingSphere Ecosystem Apache ShardingSphere is a robust distributed database ecosystem comprising two primary products: ShardingSphere-Proxy: Positioned as a transpare ...

Posted on Wed, 17 Jun 2026 16:05:16 +0000 by yobo