蚂蚁金服 张森 大规模分布式事务实践和开源介绍

CodeWarrior

2019/07/08 发布于 编程 分类

GIAC2019 

文字内容
1. ml c ml S
3. n contents b n D n Seata nml
7. Ø Ø Ø Ø
9. Ø Ø
10. 2PC Ø Ø
11. i i i Ø Ø Ø
12. B ④ Ø i Ø i
13. Ø Ø Ø Ø
14. Seata
15. Seata
16. Seata Ø Ø Ø
17. Seata AT TCC SAGA XA
18. Ø Ø
19. AT A A 100 B B RM DB SQL A TM RM SQL B DB
20. AT n ; Ø Ø Ø Ø ② Ø Ø ② ②
21. AT ④ ②
22. AT ④ ④ ②
23. AT sharding-sphere Ø Ø Ø ③
24. - TCC ❖ Ø Ø ❖e Ø B TCC a
25. TCC A A 100 B B RM Try DB Confirm Cancel TM RM Try Confirm Cancel DB
26. TCC Ø Ø k Ø Ø ⑤ Ø
27. TCC Ø Ø Ø - 2
28. TCC -
29. TCC – : Ø Ø try try
30. - Saga Ø T Ø C Ø T Ø C Ø Ø Ø
31. Saga A A 100 B B message broker RM DB deduct deduct event TM withdraw ① RM add add event withdraw DB ①
32. - XA Ø Ø Ø ③
33. XA Ø XA SQL Ø Ø Ø XA xa start XA SQL Ø XA xa end Ø XA xa prepare xa commit xa rollback
34. XA A A 100 B B RM DB SQL A TM RM SQL B DB
36. DTX ❖ Ø Ø Ø Ø ❖ ❖ ❖
37. Microservices RM r TM/RM -> TC -> DB TM Begin/Commit/Rollback(TCP) RM TC Microservices 2 TCP RM Microservices RM TM RM Begin/Commit/Rollback RM Microservices TM/RM -> DB 1 TCP N+2 TCP DB (Server) RM RM DB TC (Server) DB
38.
39. 201 0 201 1 201 2 2013 2014 2015 2016 2017
40. / CDN 2 1 1 4 3 2 3 5 4 5
41.
42. -