[zeromq-dev] message pattern question

Feiyi Wang fwang2 at gmail.com
Sun Apr 28 04:34:24 CEST 2013


hi all,

I am new to zeromq and very much intrigued by its message pattern support.
As I try to put these concepts into the context of large-scale application
for a mental exercise, I am not sure if I am thinking along the right way.

Say I have a server/client architecture with a large but relative stable
set of clients (# of client could amount to a million). A frequent need is
that server side wants ALL clients to take certain action and hope for some
confirmation that these actions indeed take place.

SUB/PUB patterns seems design for cases where it doesn't matter if you miss
some updates, and it doesn't seem to provide any feedback channel for
publisher.

REP/REQ patterns means that server side needs to maintain a HUGE number of
connections with all clients, and have to wait for responses from all
clients.

Is there a better way to think or address these issues, or REQ/REP is THE
way for it?

Thanks

Feiyi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130427/03bfddc9/attachment.htm>


More information about the zeromq-dev mailing list