[zeromq-dev] Could this be possible?

Martin Sustrik sustrik at fastmq.com
Fri May 29 11:50:45 CEST 2009


Hi Todd,

> I have an single process application that received information from 25 
> feeds.  Each feed is read from in its on thread then it "sends" it to 
> the queue.
> We are, on occasion, seeing behavior that appears to be giving priority 
> to a certain thread for a while then we see a flood.

This is something that shouldn't happen. Can you be a bit more exact 
about your use case? Are you load-balancing the messages between several 
threads or distributing the data to several threads?

> I just wondering 
> batching or something could exhibit that kinda of behavior.

Batching is limited to 8kB of data. On 1GbE this means that even in the 
worst case the it takes at most ~70us to read/write the batch. It's 
unlikely to cause the behaviour you are seeing.

Martin



More information about the zeromq-dev mailing list