Tag: distributed-systems
All the articles with the tag "distributed-systems".
Using ShardingSphere–ShardingJDBC (Part 1): Data Sharding
An introduction to data sharding in ShardingSphere–ShardingJDBC, with database and table sharding demonstrated across two MySQL instances. An example selects databases by id and tables by age to observe write and query routing, and explains how sharding keys relate to full routing.
Distributed Transactions with Seata: Installing Seata Server and Using AT Mode
A rollback problem involving calls between Spring Cloud microservices introduces Seata Server installation, database storage configuration, and Eureka registration. AT mode, the undo_log table, and a global transaction annotation are then used to verify rollback after an exception in a cross-service call.