[zeromq-dev] LMAX/Distruptor code project
fsaintjacques at gmail.com
Thu Oct 6 18:02:06 CEST 2011
I'm guessing that zmq uses yqueues in a `1-producer/1-consumer'
scenario. The advantage of the disruptor is that it avoids creating
multiple queues for inter thread communications when (>2) threads are
chained. This comes with the penalty that you have to explicit the
dependency graph (vertices are thread, edges are queues connecting
IMHO, considering the fact that zmq is already using pre-allocated
arrays in yqueues and that it's a 1-producer/1-consumer scenario, I
don't think you will get a performance boost by using the disruptor
Also, my port is _not_ production-ready and depends heavily on gcc
>4.6.1, or any other compiler that supports the threaded part of
On Thu, Oct 6, 2011 at 11:31 AM, Martin Sustrik wrote:
> On 10/06/2011 01:20 PM, Martin Sustrik wrote:
>> On 10/06/2011 01:10 PM, Daniel Cegiełka wrote:
>>> I think it would be better if ask someone who knows much better than I
>>> zeromq structure.
>> Ok. I've sent the message myself. If Francios is interested, I'll
>> redirect the discussion to the mailing list.
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
More information about the zeromq-dev