Skip to content

Commit

Permalink
update 分布式
Browse files Browse the repository at this point in the history
  • Loading branch information
dack.huang committed Dec 17, 2019
1 parent 3835a9b commit d09605d
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions 分布式.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,9 @@ redis> GET job # 没有被覆盖
- 这个方案里,要是系统 B 的事务失败了咋办?重试咯,自动不断重试直到成功,如果实在是不行,要么就是针对重要的资金类业务进行回滚,比如 B 系统本地回滚后,想办法通知系统 A 也回滚;或者是发送报警由人工来手工回滚和补偿。
- 这个还是比较合适的,目前国内互联网公司大都是这么玩儿的,要不你举用 RocketMQ 支持的,要不你就自己基于类似 ActiveMQ?RabbitMQ?自己封装一套类似的逻辑出来,总之思路就是这样子的。

- ![rocketMQ](https://segmentfault.com/img/bVbBADl)
![rocketMQ](https://segmentfault.com/img/bVbBADl)

# 参考
- [cs-node-github][3]
- [Zookeeper学习第一期][5]


[1]: https://blog.csdn.net/lihao21/article/details/54193868
[2]: https://www.zhihu.com/question/36514327?rf=37353035
[3]: https://github.com/CyC2018/CS-Notes/blob/master/notes/%E5%88%86%E5%B8%83%E5%BC%8F.md#%E4%B8%89cap
[5]: https://www.cnblogs.com/sunddenly/p/4033574.html
- [cs-node-github][https://github.com/CyC2018/CS-Notes/blob/master/notes/%E5%88%86%E5%B8%83%E5%BC%8F.md#%E4%B8%89cap]
- [Zookeeper学习第一期][https://www.cnblogs.com/sunddenly/p/4033574.html]
- [分布式事务问题的集中方案](https://mp.weixin.qq.com/s?__biz=MzI4MjY0MzcxOA==&mid=2247485159&idx=1&sn=9c00c609fa7ea1a24b693cd806f64b49&chksm=eb979a8edce013982b97269fa2688885d3b23375640fb8df31bad77c3bbfffe6cd442c4fc15d&mpshare=1&scene=1&srcid=11159pNVuhCNPRrPJipfEoOA&sharer_sharetime=1573805417052&sharer_shareid=8bf88638853c75ffc4edb2fad7b42b65&rd2werd=1#wechat_redirect)

0 comments on commit d09605d

Please sign in to comment.