Skip to content

Commit

Permalink
✏更新 分布式事务
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcaffebabe committed Jul 13, 2020
1 parent 20cbdb8 commit 723369d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SUMMARY.md
Expand Up @@ -38,7 +38,6 @@
- [数据库系统体系结构](./数据库系统/系统体系结构/数据库系统体系结构.md)
- [并行数据库](./数据库系统/系统体系结构/并行数据库.md)
- [分布式数据库](./数据库系统/系统体系结构/分布式数据库.md)
- [分布式事务](./数据库系统/分布式事务.md)
- -数据仓库、数据挖掘与信息检索-
- [数据仓库与数据挖掘](./数据库系统/数据仓库与数据挖掘.md)
- [信息检索](./数据库系统/信息检索.md)
Expand Down Expand Up @@ -100,6 +99,7 @@
- [分布式](./软件工程/架构/系统设计/分布式.md)
- [分布式理论](./软件工程/架构/系统设计/分布式理论.md)
- [分布式系统](./软件工程/架构/系统设计/分布式系统.md)
- [分布式事务](./软件工程/架构/系统设计/分布式事务.md)
- [集群](./软件工程/架构/系统设计/集群.md)
- [缓存](./软件工程/架构/系统设计/缓存.md)
- [静态化](./软件工程/架构/系统设计/静态化.md)
Expand Down
Binary file removed assets/2020321151354.png
Binary file not shown.
Binary file added assets/批注 2020-07-13 101824.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Expand Up @@ -34,7 +34,7 @@

### 事务补偿(TCC)

![2020321151354](/assets/2020321151354.png)
![批注 2020-07-13 101824](/assets/批注%202020-07-13%20101824.png)

- 优点:最终保证数据的一致性,在业务层实现事务控制,灵活性好。
- 缺点:开发成本高,每个事务操作每个参与者都需要实现try/confirm/cancel三个接口。
Expand Down

0 comments on commit 723369d

Please sign in to comment.