r/cloudcomputing • u/Phoenix500526 • Mar 13 '23
When it comes to an intercloud scenario, what is the best choice of consensus protocol?
Why are Paxos, Raft, or Zab protocols not the best choice in an intercloud scenario? What trade-off should be made in such a scenario?
7
Upvotes
1
u/marketlurker Mar 13 '23
You are sort of asking an XY problem type question. Can I ask that you back up a bit and tell us the context and why you are doing an intercloud solution?
2
u/Professional-Taro735 Mar 13 '23
Paxos is not widely used in the industry since it's relatively difficult to understand, and the relevant paper also lacks the necessary engineering implementation details.
2
u/Embarrassed_Half7256 Mar 13 '23
Not knowing much but perhaps compared to other protocols, Paxos is kind of complex and hard to implement and understand, so that might be the reason it is not extensively used in the industry. (Correct me if I’m wrong)
1
u/Less_Shirt_4476 Mar 13 '23
I guess it's because these algorithms require two RTTs to complete. For instance, Raft needs two RTTs: one for the client to transmit the request to the leader and one for the request to be replicated on the followers. RTT is expensive when it comes to intercloud scenarios.
1
u/alphabetathetareddit Mar 20 '23
Probably raft!