Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the faster Paxos-related algorithms for consensus in distributed systems?

I've read Lamport's paper on Paxos. I've also heard that it isn't used much in practice, for reasons of performance. What algorithms are commonly used for consensus in distributed systems?

like image 322
Rob Lachlan Avatar asked Jan 04 '10 06:01

Rob Lachlan


People also ask

Is Paxos a consensus algorithm?

Paxos is an algorithm that enables a distributed set of computers (for example, a cluster of distributed database nodes) to achieve consensus over an asynchronous network. To achieve agreement, one or more of the computers proposes a value to Paxos.

Is Raft better than Paxos?

Although Multi-Paxos might compromise the efficiency, it can restore services quicker when the leader fails. Therefore, Multi-Paxos has better availability than Raft.

What is a consensus algorithm in distributed systems?

A consensus algorithm is a process in computer science used to achieve agreement on a single data value among distributed processes or systems. These algorithms are designed to achieve reliability in a network involving multiple users or nodes.

Is Paxos a synchronous consensus technique?

Keeping in mind the above facts, Both Paxos and Raft belongs to the partial synchronous models. The Byzantine Generals' Problem is a classic problem faced by any distributed computer system network.


2 Answers

Not sure if this is helpful (since this is not from actual production information), but in our "distributed systems" course we've studied, along with Paxos, the Chandra-Toueg and Mostefaoui-Raynal algorithms (of the latter our professor was especially fond).

like image 78
Oak Avatar answered Sep 22 '22 07:09

Oak


Check out the Raft algorithm for a consensus algorithm that is optimized for ease of understanding and clarity of implementation. Oh... it is pretty fast as well.

https://ramcloud.stanford.edu/wiki/display/logcabin/LogCabin

https://ramcloud.stanford.edu/wiki/download/attachments/11370504/raft.pdf

like image 24
Ted Dunning Avatar answered Sep 26 '22 07:09

Ted Dunning