3 ms·
CRDTs are eventually consistent whereas Raft/Paxos consensus enables strict consistency with high availability. If you don't need strict consistency or you don'
by eatonphil 3y ago
CRDTs are eventually consistent whereas Raft/Paxos consensus enables strict consistency with high availability. If you don't need strict consistency or you don't need high availability, then yeah, you don't need consensus.
- camkego 3y agoThis isn't my area, so I don't really know. But, if CRTDs allow independent operation, don't they check the high availability box?
- geocar 3y agoYou can't really have "independent operations" on a bank account. If node A sees deposit,withdraw and node B sees withdraw,deposit one of those is business-as-usual, the other is overdraft. You can't have a "high availability" system where some parts of the system are acting like it's okay, and other parts aren't. Not everything is a bank, but a lot of things are often more-like-a-bank than they first appear...
- eatonphil 3y agoMany things provide high availability, including hot backups that you manually promote to leader (i.e. the traditional database setup). However, it's distributed consensus that solves for strict serializability (I should say, not strict consistency) and high availability as a combination. See also the Jepsen page on consistency levels. https://jepsen.io/consistency/models/strict-serializable https://jepsen.io/consistency/models/strict-serializable