All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: hail-devel@vger.kernel.org
Subject: Re: Zookeeper instead of CLD in Hail
Date: Mon, 07 Jun 2010 22:20:26 -0400	[thread overview]
Message-ID: <4C0DA8EA.7080106@garzik.org> (raw)
In-Reply-To: <20100604212737.01ac0e37@lembas.zaitcev.lan>

On 06/04/2010 11:27 PM, Pete Zaitcev wrote:
> I heard people say they cribbed from the same Chubby paper, but
> it's bollocks. It's absolutely nothing like what Chubby implies.
> No locks for one thing. To be sure, Zookeeper provides a canned
> piece of code which implements locks, kinda like you can implement
> compare-and-swap using Dekker's algorithm on a CPU that doesn't
> have it. The canned lock creates "sequenced" files (using a ZK
> server call that creates unique filenames), then sets some
> "watches" (same as CLD offers), then re-reads the directory to
> find the lowest number sequential file, which is the winner of
> the lock. Haha, only serious. I tested it, it works, but ewwwww.

Yeah, the main similarity is...  both ZK and CLD offer some type of 
filesystem (with all that implies).  ZK is IMO not much like Chubby at 
all, in terms of focus / design goals.

	Jeff


      parent reply	other threads:[~2010-06-08  2:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-05  3:27 Zookeeper instead of CLD in Hail Pete Zaitcev
2010-06-07 13:21 ` Jeff Darcy
2010-06-07 18:15   ` Pete Zaitcev
2010-06-08  2:32   ` Jeff Garzik
2010-06-08 15:07     ` Jeff Darcy
2010-06-09  4:49       ` Colin McCabe
2010-06-09 14:35         ` Jeff Darcy
2010-06-08  2:20 ` Jeff Garzik [this message]

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=4C0DA8EA.7080106@garzik.org \
    --to=jeff@garzik.org \
    --cc=hail-devel@vger.kernel.org \
    --cc=zaitcev@redhat.com \
    /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.