TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ZooKeeper: Wait-free coordination for Internet-scale systems

100 pointsby mad44over 10 years ago

7 comments

TallGuyShortover 10 years ago
Obligatory shout-out to Apache Curator: <a href="http://curator.apache.org/" rel="nofollow">http:&#x2F;&#x2F;curator.apache.org&#x2F;</a><p>Curator implements a bunch of algorithms often implemented on top of ZooKeeper. I like to think of ZooKeeper as the distributed systems equivalent of peer-reviewed implementations of cryptographic primitives. Curator is a like a whole cryptographic protocol &#x2F; cryptosystem. In both cases: don&#x27;t implement your own!
评论 #8387009 未加载
yourabiover 10 years ago
I use ZooKeeper in production for snitch.io.<p>There are some interesting new alternatives such as etcd &#x2F; serf&#x2F;consul - but at the time ZooKeeper had the best track record (under Jepsen analysis). Things might have changed since then.<p>Aphyr has done a bunch of analysis of these systems part of his Jepsen tool: <a href="http://aphyr.com/tags/jepsen" rel="nofollow">http:&#x2F;&#x2F;aphyr.com&#x2F;tags&#x2F;jepsen</a> and <a href="http://aphyr.com/posts/291-call-me-maybe-zookeepe" rel="nofollow">http:&#x2F;&#x2F;aphyr.com&#x2F;posts&#x2F;291-call-me-maybe-zookeepe</a><p>If you are going to use ZooKeeper I strongly suggest looking at both Apache Curator and Netflix Exhibitor (they are complimentary).<p>The examples bundled with ZK don&#x27;t handle all errors&#x2F;edge cases...<p>Curator is a library of common patterns available to use mostly out of the box.<p>Exhibitor is a ZooKeeper &quot;aware&quot; supervisor system: <a href="https://github.com/Netflix/exhibitor" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Netflix&#x2F;exhibitor</a><p>Also always remember your ensemble should have an odd number of nodes (3,5,7)
jayunitover 10 years ago
If you enjoyed this, I highly recommend Mikito Takada&#x27;s &quot;Distributed systems for fun and profit&quot; <a href="http://book.mixu.net/distsys" rel="nofollow">http:&#x2F;&#x2F;book.mixu.net&#x2F;distsys</a><p>The &quot;Partition-tolerant consensus algorithms: Paxos, Raft, ZAB&quot; section is relevant, along with the &quot;Further Reading&quot; which follows it.
directionlessover 10 years ago
You may also be interested in <a href="http://aphyr.com/posts/291-call-me-maybe-zookeeper" rel="nofollow">http:&#x2F;&#x2F;aphyr.com&#x2F;posts&#x2F;291-call-me-maybe-zookeeper</a>
tachionover 10 years ago
I&#x27;ve used ZooKeeper not only as a service registry but also as a fairly small message queue - I wanted to be sure that my message will be delivered at least once, and thanks to Kazoo&#x27;s (Python ZK library) LockingQueue recipe I was able to get what I want really easily with all the benefits from ZK&#x27;s clustering nature.
judkover 10 years ago
The article doesn&#x27;t give any background: ZK is a some of Chubby, Google&#x27;s distributed lock manager. Locks are small files.
eik3_deover 10 years ago
has anyone had real-world experience comparing ZooKeeper with consul? Is consul considered production-ready yet?
评论 #8387769 未加载