This repository has been archived on 2026-05-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2026-05-18 00:17:59 +08:00
..
2026-05-18 00:17:59 +08:00
2026-05-18 00:17:59 +08:00
2026-05-18 00:17:59 +08:00
2026-05-17 22:00:24 +08:00
tags, create time
| tags |
create time |
| microservice |
| data-consistency |
|
2026-04-29 12:03 |
数据一致性
概述
微服务的核心设计原则是 "每个服务拥有独立数据库",这带来了分布式事务和数据一致性的经典难题。本文梳理主要解决方案及其取舍。
知识体系
学习建议
[!tip] 学习路径
先理解"为什么不能共享数据库",再学分库分表的策略,最后深入分布式事务方案选型。ID 生成是最轻量的话题,可以随时了解。
关联笔记