Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are zeromq use cases?

Tags:

zeromq

Could you give some examples of zeromq?

like image 461
Sławosz Avatar asked Dec 21 '10 13:12

Sławosz


People also ask

What is ZeroMQ used for?

ZeroMQ is a library used to implement messaging and communication systems between applications and processes - fast and asynchronously.


2 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.

like image 157
darioo Avatar answered Oct 01 '22 00:10

darioo


Please see the ZeroMQ blog -- they regularly post usage stories about different deployments, language bindings, etc.

like image 39
Dirk Eddelbuettel Avatar answered Oct 01 '22 00:10

Dirk Eddelbuettel