You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Mark <st...@gmail.com> on 2011/12/05 17:26:45 UTC

Working with 0mq

Can someone briefly explain how Zookeeper and 0mq work together? Why 
wouldn't one be used over the other?

Thanks

Re: Working with 0mq

Posted by Ted Dunning <te...@gmail.com>.
They serve very, very different functions.

0mq is a message queue that strives for low latency and reasonably reliable
delivery.  Zookeeper is a coordination service.

On Mon, Dec 5, 2011 at 8:26 AM, Mark <st...@gmail.com> wrote:

> Can someone briefly explain how Zookeeper and 0mq work together? Why
> wouldn't one be used over the other?
>
> Thanks
>

Re: Working with 0mq

Posted by Thijs Terlouw <th...@gmail.com>.
I have used the two together: ZooKeeper was used for service discovery
(each service registers itself and monitors ZooKeeper). ZeroMQ was used as
the actual transport layer for connecting the services together. That way
all parts of the system (including ZooKeeper, via DNS) were dynamic.
ZooKeeper does add quite a lot of complexity and requires some experience
to get it right.

Thijs Terlouw

On Mon, Dec 5, 2011 at 5:26 PM, Mark <st...@gmail.com> wrote:

> Can someone briefly explain how Zookeeper and 0mq work together? Why
> wouldn't one be used over the other?
>
> Thanks
>