News for hackers. Stuff that matters.
Re:The Paxos algorithm for consensus in a distributed system by vecter on Thursday May 31, 2012 @06:19PM (#4050703)
Recommended reading: Paxos Made Simple by Leslie Lamport (http://research.microsoft.com/en-us/um/people/lamport/pubs/p...)

    Abstract

    The Paxos algorithm, when presented in plain English, is very simple.
Compare that to the original paper, which is pretty obtuse: http://research.microsoft.com/en-us/um/people/lamport/pubs/l...
Re:The Paxos algorithm for consensus in a distributed system by mwcremer on Thursday May 31, 2012 @07:04PM (#4050903)
Re:The Paxos algorithm for consensus in a distributed system by loeg on Thursday May 31, 2012 @11:47PM (#4051864)
I've read both Paxos papers from the parent and grandparent comments. Comparatively, the linked article is succinct, well-written, and (relatively) easy to understand.
Re:The Paxos algorithm for consensus in a distributed system by DenisM on Friday June 01, 2012 @12:15AM (#4051944)
Which linked article of the three?
Re:The Paxos algorithm for consensus in a distributed system by saurik on Friday June 01, 2012 @06:55AM (#4052809)
(As he hasn't responded:) I'm guessing he means the article linked by this entire article thread, as opposed to any of the alternatives mentioned by the comments that he responded to.
Re:The Paxos algorithm for consensus in a distributed system by loeg on Friday June 01, 2012 @01:05PM (#4054451)
Yes, I meant the topic article. I have some dog-eared printouts of "Paxos Made Simple" and "Paxos Made Live" lying on my floor.
Re:The Paxos algorithm for consensus in a distributed system by parley on Thursday May 31, 2012 @06:06PM (#4050650)
I can really recommend implementing (and testing) Paxos (and the failure detector Omega mentioned at the end of the linked page) if you're interested in learning distributed systems, message passing-based communication and juggling state machines.

It may look tricky, but once you penetrate the formalities and understand it, you'll love it. It's a nice kick when you get it working.

Edit: Although you may not want to do it in C, as I had to. At the time, I'd have given my left hand for some tuples, pattern matching and other stuff. :)

Re:The Paxos algorithm for consensus in a distributed system by sherwin on Thursday May 31, 2012 @10:03PM (#4051528)
Funny you mention this -- this was almost exactly what I and a friend did for a final project last semester. we did it in Go, which was probably much more enjoyable than C :)
Re:The Paxos algorithm for consensus in a distributed system by luriel on Friday June 01, 2012 @01:32AM (#4052123)
Funny you mention this, the folks at Heroku did the same: http://blog.golang.org/2011/04/go-at-heroku.html / https://github.com/ha/doozerd
Re:The Paxos algorithm for consensus in a distributed system by argvzero on Thursday May 31, 2012 @07:22PM (#4050973)
If you're looking to actually implement Paxos, check out "Paxos Made Moderately Complex" by Robert van Renesse: http://www.cs.cornell.edu/courses/cs7412/2011sp/paxos.pdf
Re:The Paxos algorithm for consensus in a distributed system by einarvollset on Thursday May 31, 2012 @11:04PM (#4051741)
Robbert is indeed one of (if not the) smartest men you'll ever meet in relation to fault tolerance in distributed systems. However, if you're looking to build a fault tolerant consensus algorithm, you owe it to yourself to check out randomized consensus (which predates Paxos, and really is the same algorithm - just simpler)
Re:The Paxos algorithm for consensus in a distributed system by DenisM on Friday June 01, 2012 @12:24AM (#4051964)
Google search for "randomized consensus" turns up a paper comparing several such algorithms. Which one did you have in mind?
Re:The Paxos algorithm for consensus in a distributed system by iradik on Friday June 01, 2012 @02:25AM (#4052227)
Why isn't there a good open-source paxos implementation out there? Or is there?
Re:The Paxos algorithm for consensus in a distributed system by nicolast on Friday June 01, 2012 @08:01AM (#4052948)
http://www.arakoon.org uses (Multi-)Paxos. Version 2.0 in development at https://github.com/Incubaid/arakoon (e.g. see https://github.com/Incubaid/arakoon/blob/2.0/src/hope/mp.ml for the state machine implementation).
Re:The Paxos algorithm for consensus in a distributed system by stock_toaster on Friday June 01, 2012 @02:49AM (#4052289)
Re:The Paxos algorithm for consensus in a distributed system by jackowayed on Friday June 01, 2012 @03:57AM (#4052446)
I think Apache Zookeeper is a Paxos implementation. I've heard very good things about it. Various pieces of Hadoop use it, and I know of people who use it for medium-sized webapps that need a canonical, fault-tolerant configuration system.
Re:The Paxos algorithm for consensus in a distributed system by zaa on Friday June 01, 2012 @05:10AM (#4052613)
Zookeeper uses its own consensus protocol - ZAB (http://wiki.apache.org/hadoop/ZooKeeper/Zab).