I just want to let you know that by setting the socket option before bind did solve the problem. Thank you very much for your help!
Yeah I have noticed the error I made, but unfortuantely it does not make a difference. I set the linger time to a long one so that the slow timed loop would have time to finish receiving the messages. My idea was that finish quickly with the sending of the 10k message, start receiving it slowly and that's it. Unfortunately it is the same situation: a few hundred message are lost. Despite this I think it is an awesome library and I plan to use it with our RT systems as well, as I have seen some here...
Dear Martin, thank you very much for the quick answer! I would like to apologize up front because I am still just learning ZMQ so there are quite a lot that I don't understand yet. The stress test maybe is not a realistic situation, I was just concerned by this because there is a possibility that I am missing something fundamental. According to your suggestions I tried to make some modifications like increasing the HWM and forcing the receiver to execute after the sender is finished with sending,...
Dear Martin, thank you very much for the quick answer! I would like to apologize up front because I am still just learning ZMQ so there are quite a lot that I don't understand yet. The stress test maybe is not a realistic situation, I was just concerned by this because there is a possibility that I am missing something fundamental. According to your suggestions I tried to make some modifications like increasing the HWM and forcing the receiver to execute after the sender is finished with sending,...
Hello Everyone, I have just started using the ZMQ binding and have noticed something with this test setup: I publish 10000 message in a for loop at max speed (no wait) but on the receiving side I do not receive all 10k messages, some of them are missing, but if I introduce a very small delay, then there is no missing messages. Do any of you have an idea why is this happening? Thank you in advance! -Imre