[rabbitmq-discuss] MQ consumer become very slow if there are a lot of ready message
Alvaro Videla
videlalvaro at gmail.com
Mon Dec 30 16:50:17 GMT 2013
Hi,
See: http://www.rabbitmq.com/blog/2011/10/27/performance-of-queues-when-less-is-more/
Usually RabbitMQ queues are faster with fewer messages for the reasons
explained there.
Apart from that, that blog post explains how you could configure your
basic.qos settings to reduce latency.
Regards,
Alvaro
On Mon, Dec 30, 2013 at 5:44 PM, 椰风 <1006798382 at qq.com> wrote:
> I have 1 node with 8 cores cpu(Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz) and
> 16G RAM
> OS: 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!
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
More information about the rabbitmq-discuss
mailing list