Why use Paxos instead of Raft?
11–20 of 46 posts
Re: Why use Paxos instead of Raft?
#12So would using Neon negate the need for something like Citus for scaling out a postgres database?
Neon is more of an aurora approach detaching storage from the compute, you could scale up to more replicas and it could enable other functionality, though Postgres already can handle a pretty high replica count so you can scale out reads that way.
Re: Why use Paxos instead of Raft?
#13The author is here, happy to answer questions if any.
Re: Why use Paxos instead of Raft?
#14Re: Why use Paxos instead of Raft?
#15I used to work in the orbit of a distinguished eng at AWS who was famous for saying something to the effect of, "At the bottom of any scaled distributed system is either Paxos, or a bug."
Re: Why use Paxos instead of Raft?
#16Re: Why use Paxos instead of Raft?
#17This is a great writeup, thanks. It will be very useful if y'all could add a post comparing neon with citusdb in terms of functionality, performance and operations.
And Citus is shared nothing architecture plus columnstores. This means the use case is analytics or mixed workloads. Citus people should comment on this of course.
Re: Why use Paxos instead of Raft?
#18The author is here, happy to answer questions if any.
if storage and compute are separated - how is storage mounted on to the compute? Generally you can attach a volume only to one server at a time
Re: Why use Paxos instead of Raft?
#19I used to work in the orbit of a distinguished eng at AWS who was famous for saying something to the effect of, "At the bottom of any scaled distributed system is either Paxos, or a bug."
It's a fun quote, it reminds me of the "every sufficiently advanced program contains a bug-ridden implementation of half of common lisp", or something along those lines. But there really is a wide world of distributed consensus systems out there (although Paxos is easily the most elegant).
Re: Why use Paxos instead of Raft?
#20I used to work in the orbit of a distinguished eng at AWS who was famous for saying something to the effect of, "At the bottom of any scaled distributed system is either Paxos, or a bug."
I was fairly junior at the time, and Raft seemed much more approachable, but after really forcing myself to read and understand the Paxos paper, I see what he meant. I am pretty sure most of the love for Raft was that the original whitepaper was just a better presentation. The actual Paxos algorithm is quite simple.
If you go into Raft already having mastered Paxos (as this DE was doing), it's clear that Raft is basically isomorphic to a special case of Paxos.