[zeromq-dev] [PATCH] Re: assertion failure with master

Dhammika Pathirana dhammika at gmail.com
Tue Nov 9 09:21:39 CET 2010


On Mon, Nov 8, 2010 at 4:39 AM, Martin Lucina <mato at kotelna.sk> wrote:
> Chuck,
> can you try the preliminary patch below against master and let me know if
> it fixes your problem?
> Martin, please review.  The code is getting decidedly ugly, so much for
> trying to emulate atomic message queueing over a SOCK_STREAM socket... The
> alternative is to use SOCK_DGRAM instead as discussed on IRC which are by
> definition atomic.

udp is unreliable, we'll have to handle dropped packets etc..

Why do we generate so many commands anyway?
Default linux sockbuf is 128K. Most commands are fixed length,
assuming 32B we get 4096 commands.


More information about the zeromq-dev mailing list