An idea from the Java world

An idea from the Java world

Does anybody have an opinion about something called "Disruptor" (see http://code.google.com/p/disruptor/)? I've seen this before, and yesterday somebody brought it to my attention again, but I thought I'd first ask here if anybody else had evaluated it yet. I presume there's some overlap with a TBB pipeline?

(Added 2012-04-24) Maybe this has been mentioned before on the forum, maybe I'm just imagining, but it would probably be interesting to do a systematic survey. Does anyone have any such information?

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

I went through the thread. I think there is a take away for TBB Queues. There are a lot of scenarios where we havemultiple producers and single consumerIf the queue is not empty, then the single consumer need not compete with the multiple producers. Say at a point in time, the consumer reads the queue length as 10, then the single consumer can be sure that nine consumptions can happen without any locks.Similarly if the producer has multiple stuffs to enqueue, he can form a structure without contention, that can be enqueued.Can we make any effort to incorporate these features?Thanks,Gokul.

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya