ropensci / rzmq

R package for ZMQ
https://docs.ropensci.org/rzmq
84 stars 30 forks source link

Question: sending a second message before the first one is consumed #42

Closed wlandau closed 6 years ago

wlandau commented 6 years ago

Is this possible in rzmq/ZeroMQ? I am totally new to ZeroMQ, so I do not know. For my potential application, it is important for processes to be able to move on in spite of a backlog of un-received messages.

armstrtw commented 6 years ago

Many different types of workflows are possible, but in general yes.

Certain types of sockets support sending multiple messages before receiving replies if at all. Others switch state, such that you need to wait for a reply before sending another message.

I suggest you have a look at the guide. http://zguide.zeromq.org/page:all

wlandau commented 6 years ago

Thanks, Whit! I will look into this more.