[zeromq-dev] Need to PUB / REQ from multiple threads

Martin Sustrik sustrik at 250bpm.com
Tue Jan 11 08:19:49 CET 2011

Hi Gaspard,

> The server is not sending a response because it does not receive the
> value... I changed for PUSH/PULL sockets and the problem is gone.
> Is it possible fore REQ/REP sockets to loose packets ?

The requests should never be lost (unless one of the components fails). 
The replys can be lost if the reources (HWM, SWAP) are exhausted. If you 
don't limit the HWM, even the replies should not be lost.

> The problem is totally reproducible: REQ/REP hangs after some time,
> PUSH/PULL never hangs.

Can you provide a minimat test case?


More information about the zeromq-dev mailing list