From: Jeff Garzik <jeff@garzik.org>
To: Sage Weil <sage@newdream.net>
Cc: hail-devel@vger.kernel.org
Subject: Re: [PATCH v1] CLD replication (WIP)
Date: Fri, 31 Jul 2009 14:38:30 -0400 [thread overview]
Message-ID: <4A733A26.2080801@garzik.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0907311059140.14759@cobra.newdream.net>
Sage Weil wrote:
> Hi Jeff,
>
> Do you still plan to replace bdb (and it's replication) with a something
> based on paxos? I'm considering replacing the Ceph monitors (which
> currently implement paxos, but in a very ceph-specific way) with cld if it
> can meet the basic requirements.
>
> What I'd kind of like to see is a clean implementation of a paxos
> library--one that leaves out message transport and storage--to build a
> replicated write-ahead log. And then a separate library for handling the
> database/namespace served up by cld (be it regular files, bdb, whatever)
> that leaves replication up to paxos. It looks like Google ended up doing
> something similar with Chubby (see
> http://labs.google.com/papers/paxos_made_live.html).
>
> Does this sound like the direction you guys are heading in?
You mean something like http://linux.yyz.us/misc/paxreg.c ? :)
Yes, a straight PAXOS implementation is definitely in the plans, for
similar reasons as Google describes: CLD just doesn't need full db4
replicated transactions, when a PAXOS replicated, write-ahead logging
database would work just fine.
That said, the urgency of this task is lowered, because current db4
(after much trial, tribulation and debugging) did eventually start
supporting PAXOS. Some of the Google hints paper hint at this, noting
that Sleepycat/Oracle "eventually" fixed all the problems -- but by then
it was too late, Google had moved on and done their own db.
Most importantly, from the view of a CLD client (libcldc user), CLD will
provide the necessary guarantees today. When CLD switches to native
PAXOS, the CLD client API will not change at all. So, the switchover
should be transparent from the client's point of view.
Jeff
next prev parent reply other threads:[~2009-07-31 18:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-31 10:40 [PATCH v1] CLD replication (WIP) Jeff Garzik
2009-07-31 18:14 ` Sage Weil
2009-07-31 18:38 ` Jeff Garzik [this message]
2009-07-31 18:52 ` Jeff Garzik
2009-07-31 19:44 ` Sage Weil
2009-07-31 20:41 ` CLD future plans (was Re: [PATCH v1] CLD replication (WIP)) Jeff Garzik
2009-07-31 21:26 ` Sage Weil
2009-07-31 21:55 ` CLD ping/response algorithm Jeff Garzik
2009-08-10 18:24 ` [PATCH v3] CLD replication (WIP) Jeff Garzik
2009-08-11 23:56 ` Pete Zaitcev
-- strict thread matches above, loose matches on Subject: below --
2009-07-31 11:15 [PATCH v1] " Jeff Garzik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A733A26.2080801@garzik.org \
--to=jeff@garzik.org \
--cc=hail-devel@vger.kernel.org \
--cc=sage@newdream.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.