Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paxos 和 raft 是不是也和 XA、2PC 一样,属于实现线性一致性的算法之一呢? #350

Open
hzy38324 opened this issue Mar 6, 2023 · 0 comments

Comments

@hzy38324
Copy link

hzy38324 commented Mar 6, 2023

看了事务处理章节,收获很多,有一点疑问请教下大佬(不知道为啥在博客内没法评论,科学上网了还是不行.. 只能在这里提问了..)
在全局事务(http://icyfenix.cn/architect-perspective/general-architecture/transaction/global.html)这里,提到了单服务对应多数据源下,可以用 2PC 和 3PC,那么是不是也可以用 paxos 和 raft 呢~ 看文章里似乎没提到,想问问大佬是不是有什么其他思考~

另外还想咨询下,对于单个服务使用多个数据源,这种场景是不是更多存在于一些中间件上,比如 Zookeeper,Etcd,Consul,HBase上,用他们来举例是不是更恰当~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant