[rabbitmq-discuss] MQ consumer become very slow if there are a lot of ready message

椰风 1006798382 at qq.com
Mon Dec 30 16:44:33 GMT 2013


I have 1 node with 8 cores cpu(Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz) and 16G RAMOS: centos 6.3 64bits
Rabbit MQ version: rabbitmq-server-3.2.2-1.noarch


exchange: ex-statcen, direct type
queue :4 queues, use the same direct routine key to get 4 copies from the ex-statcen


It worked ok at start, the speed to ex-statcen exchange is 7k/sec, and the consumer is very quickly.
After a while, the queue consumer become slow, about 2,000,000 messages stayed in queue.
Then I stop the consumer and restart a new consumer, the speed of consumption was still very slow, about 10~700/sec.


My question is why the speed of consumption can not back to the 7k/sec? How to improve the speed.


Note that I've enabled the HiPE. with erlang R16B03 version


thx!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131231/39fec625/attachment.html>


More information about the rabbitmq-discuss mailing list