Could you give some examples of zeromq?
-
20ZeroMQ's use cases are anything that connects moving pieces on a network. Any kind of distributed system. Since the footprint to add ZeroMQ to a node is very low you can do things like talk to 10,000 systems in parallel (like Salt does). Since the cost to process one message is so low you can handle really high volumes (millions of messages per second). We use ZeroMQ to connect mobile devices together into a peer-to-peer mesh. We use it to build back-ends, which can scale from one box to many boxes without code changes. – Pieter Hintjens May 31 '12 at 18:53
-
@PieterHintjens I am working on a peer to peer project on mobile phones and intend to use ZeroMQ. Are there any limitations to the number of devices that ZeroMQ can handle at any given instance? – AndroidDev Jul 09 '13 at 12:34
-
1@AndroidDev Do you intend on deploying via app stores? My understanding is ZeroMQ is LGPL, and mobile app stores are not compatible with the LGPL due to the end-user re-linking requirement. – Jared Thirsk Nov 10 '14 at 21:10
-
http://zeromq.org/area:faq#toc4 seems to be no problem with license – Heroselohim Jul 19 '15 at 10:57
-
Voting to close, astonished it was not yet! – mlvljr Sep 03 '18 at 23:33
-
2Even though the question is broad, there can be nothing better when the author of ZeroMQ replied himself. RIP and thank you @PieterHintjens – Rakib Fiha Dec 15 '19 at 16:57
6 Answers
Let's say you want to have a bulletin board of some kind. You want to allow only some people to see it, by subscribing to the bulleting board.
This can be done using the publisher/subscriber model of ZeroMQ.
Now, let's say you need to send some asynchronous messages. That is, when a message is sent from system A and needs to get to system B, it is guaranteed to be delivered later, even if systems A and B cannot communicate at the moment when that message is sent. You can imagine a use case being SMS messages.
This can be done using asynchronous messaging model of ZeroMQ.
Basically, any JMS compliant solution like ZeroMQ will allow you to reliably broadcast or send a "message", whatever that message may be, to some other party with as little hassle as possible.

- 46,442
- 10
- 75
- 103
-
11ZeroMQ is not JMS compliant. It sends data over the wire as a byte array, it doesn't care what language you use. – clarson Sep 27 '11 at 18:48
-
1Indeed ZeroMQ is not JMS compliant. You need to implement the JMS interface yourself. – gpol Jan 11 '13 at 14:26
Please see the ZeroMQ blog -- they regularly post usage stories about different deployments, language bindings, etc.

- 5,739
- 5
- 33
- 47

- 360,940
- 56
- 644
- 725
-
1Is there an english-language version of the blog? The entire page is in indonesian for me... – Ethan McTague May 26 '21 at 17:04
-
These things can happen with links in eleven year old (!!) answers. Maybe try the wayback machine? – Dirk Eddelbuettel May 26 '21 at 17:10
IPython uses ZeroMQ for parallel computing features, the qt console and the notebook.

- 1,002
- 8
- 14
My personal use of this library is cross language communication:
I pass data between Python and Haskell

- 550
- 2
- 8
Last time Rick Olson created a "clone" of Dropbox: https://gist.github.com/122849a52c5b33c5d890

- 11,187
- 15
- 73
- 106
They also have an excellent guide that offers a complete peek into the possible use cases and their real time applications.
And if you have more time, you can go thru the whole website

- 304
- 2
- 10