[zeromq-dev] 0MQ - message lost and crash

Wang Alfred alfredwang1979 at gmail.com
Fri Aug 20 10:08:07 CEST 2010


Is there anyone can help on this problem?

On Wed, Aug 18, 2010 at 6:11 PM, Wang Alfred <alfredwang1979 at gmail.com>wrote:

> Hi,
>
> I'm trying to write a test program to test the performance of ZeroMQ, but I
> encountered some problems.
>
> The test uses 50 threads to send messages, each thread will sent 100
> messages, and there is another thread for receiving messages. But I found
> that I can not receive all messages, the total messages sent is 5000, but
> the received is about 4300.
>
> Another problem is that, if I use the tcp protocol, this test will crash.
>
> I'm using C#, so I use the clrzmq http://www.zeromq.org/bindings:clr
>
> I'm new to ZeroMQ, and form it's website, it claims to be thread safe if
> all threads share one context, I think this test follows the guide. I
> will appreciate it if someone can help to point out the problem, thanks.
>
> I put the codes on http://pastebin.com/cPjKwKd2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100820/fa8607bb/attachment.htm>


More information about the zeromq-dev mailing list