[zeromq-dev] ZeroMQ to support AMQP patterns soon?

Michel Pelletier pelletier.michel at gmail.com
Wed Jan 2 23:52:54 CET 2013

On Wed, Jan 2, 2013 at 1:31 PM, Viet Hoang (Quant Edge) <
viet.hoang at quant-edge.com> wrote:

> QPID tutorial is my only ref so far. Also, it manages ssl/crypto for me.
> With ZeroMQ, i have to self manage encryption by putting it into
> clone/kvmsg structure, maintaining key set for different topic.

It is unfortunately that zmq doesn't offer better crypto support.  The
ideal solution so far seems to be encrypting each message with a pre-shared

> There are many small other things QPID supports by default, such as
> streaming message/file. I normally don't deal with large message (100mb),
> but trade report is large. Multi-part message is nice, but receiver wont
> get notification until last frame is delivered. During that, ping message
> from broker is not received and i got timeout trigger.

I usually send heartbeats out of band from other message flows on a
dedicated set of sockets.

> I ended up have to break large one into many partial 1000b messages and
> manage receiving partial messages mixing with small full messages.
> Also, active/active clustering and federation on QPID is matter of
> configure. ZeroMQ only has concept, to get it into production, i need to
> implement more.

In this case, it sounds like AMQP is a better solution for your needs (what
we know of them) and you should use it.  AMQP can provide some of these
features based on configuration only because broker based systems use star
topologies where every message, regardless of its origin or endpoint,
traverses a central broker.  zmq is inherently decentralized, you can
connect any number of nodes with any topology, including star.  This
introduced different problems that need to be solved.  For many topologies
a broker becomes a bottleneck.

For your data flow and requirements, it sounds like a broker based solution
works great for you, assuming your problem doesn't run into the broker


> Viet
> On Jan 3, 2013, at 2:37 AM, Pieter Hintjens <ph at imatix.com> wrote:
> > On Wed, Jan 2, 2013 at 6:48 PM, Viet Hoang (Quant Edge)
> > <viet.hoang at quant-edge.com> wrote:
> >
> >> After a while, I believe i'm reinventing the wheel, I could just use
> AMQP / QPID and no need to do coding or testing. Does ZeroMQ plan to
> support AMQP features in near future?
> >
> > I'd be rather surprised if AMQP supported this functionality or
> > anything close to it.
> >
> > Do you have a reference to the functionality you're referring to?
> >
> > -Pieter
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130102/eecfe3ce/attachment.htm>

More information about the zeromq-dev mailing list