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
Evolution of Distributed System Architecture
The Essence of Architecture
Architecture is fundamentally about reorganizing a system into an ordered state, a continuous process of system evolution. How does architecture transform disorder into order? The primary methods are decomposition and integration. Decomposition allows developers to focus on specific business domains and skills, enabl ...
Posted on Sun, 11 Oct 2026 16:26:26 +0000 by MachineHead933
Passenger Module Design and Implementation for 12306-Like Train Ticketing System
Passenger Table Sharding Strategy
Passenger records are strongly associated with user entities. Every registered user has at least one corresponding passenger entry for their own identity, and can add additional passenger profiles for family, friends, or colleagues to book tickets on their behalf, forming a clear one-to-many mapping between use ...
Posted on Fri, 25 Sep 2026 16:13:23 +0000 by warrenk
Designing and Implementing Database Sharding and Table Partitioning
Scaling MySQL: Evolution of Database Architecture
As application traffic grows, monolithic database architectures often become bottlenecks. To handle increased loads, engineers typically employ a combination of architectural changes: service separation, master-slave replication, database sharding (splitting databases), and table partitioning (s ...
Posted on Sat, 19 Sep 2026 16:48:36 +0000 by cetaces
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