activemq-users mailing list archives

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


     I'm using ActiveMQ 5.1 to publish from a single fast producer to four
All messages are non-durable and contain ephemeral data so I have the
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
large number (10K) but I'm still being burned either by flow control or by
processing to send an expired message to the dead letter queue.  Given the
case described above, what is the right way to accomplish my goal?  Can I
the DLQ and producer flow control?  Are there any other tweaks I should

Thanks in advance,

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message