Pub sub using zeroMQ

13 views
Skip to first unread message

Edi V

unread,
May 19, 2017, 7:22:02 PM5/19/17
to zeromq
Hi All,

I am new to zeroMQ and have been trying to figure out the strategy for building a scalable PUB-SUB cluster using zeroMQ.

The following are my requirements -

1] I have a cluster of redis machines and I need to publish data from each of this machine to a Message system like ZeroMQ.
2] Multiple different systems should be able to read the published messages. i.e. Each published message should be delivered
    to every subscriber. 
3] Every subscriber may have multiple consumer threads reading the message. However one message must be read by only one thread.
    Within a single subscription the message should be delivered in a round robin fashion to each connected consumer thread.
4] Need to run some basic performance benchmark to get started.
5] The architecture should be horizontally scalable.

I would like to know the pattern I should explore and the sockets I should be using. I have tried going through the zeroMQ documentation but
overwhelmed by the amount of information.

Regards,
Aditya
Reply all
Reply to author
Forward
0 new messages