[zeromq-dev] 0MQ 2.0 Model Question
Martin Sustrik
sustrik at fastmq.com
Thu Oct 8 11:03:32 CEST 2009
tom schuring wrote:
> Hi Martin,
>
> thank you for your reply
>
>>
>> The alternative is req/rep model, where each message exchange is
>> initiated by requester. The number of messages is always finite
>> (request+reply). In this case messages are never dropped.
>>
>
> ah, so in that case the requester can only send 1 message when the
> connection is down ? and only when the other side replies (for example
> when the connection is restored) can the requester send another message ?
Yes. That's the case. You can of course think of different messaging
models aside of pub/sub and req/rep, however, these two are most common
so they were implemented first.
Martin
More information about the zeromq-dev
mailing list