activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crisp <davidcris...@yahoo.com>
Subject High-speed topic publishing & consumption
Date Fri, 22 Aug 2008 19:06:16 GMT

Hi,

     I'm using ActiveMQ 5.1 to publish from a single fast producer to four
consumers.
All messages are non-durable and contain ephemeral data so I have the
message 
time to live set to one second.  My goal is to be able to publish as fast as 
possible and have any messages that don't make it to consumers in the one
second interval be silently dropped by the message system.

     When I run the producerTool example at full-blast and send 2M messages
to a consumer over a network of brokers to a set of consumers, the producer
eventually stops sending.  I have set the prefetch size on the consumers to
a
large number (10K) but I'm still being burned either by flow control or by
the
processing to send an expired message to the dead letter queue.  Given the
use
case described above, what is the right way to accomplish my goal?  Can I
disable
the DLQ and producer flow control?  Are there any other tweaks I should
consider?

Thanks in advance,
D.

-- 
View this message in context: http://www.nabble.com/High-speed-topic-publishing---consumption-tp19113739p19113739.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message