[rabbitmq-discuss] Queue Creation Rate and response times

Jim Swainston JSwainston at sportingsolutions.com
Fri Aug 9 15:15:05 BST 2013


Hi MK,

Thanks for the response. I will take a look at vmstat etc.
The exchanges are durable topic exchanges. The rabbit box is a dedicated server accessed over LAN.
Thanks for the script I will give it a go and see what happens.

Jim

-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Michael Klishin
Sent: 09 August 2013 14:10
To: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] Queue Creation Rate and response times

Jim Swainston:

> Recently I have started to get short lived spikes in queue creation up to approximately 20 queues per second across the whole rabbit box.
> When this happens the queue creation request time can jump up to anywhere between 10000ms and 20000ms.
> At the same time as this it appears as if the publishing request  to these exchanges also increases from about 40ms to about 5000ms.

Have you tried running vmstat or iostat to see if can be a limited I/O issue? Do you create exchanges as durable? Is RabbitMQ running on localhost, accessed over LAN or WAN?

I have a benchmark in one of the clients (Bunny) that demonstrates about 0.77 KGhz for queue.declare with server-named, non-durable, exclusive queues:

https://github.com/ruby-amqp/bunny/blob/master/benchmarks/queue_declare.rb

To run it, do bundle install and then bundle exec ruby benchmarks/queue_declare.rb
--
MK

**********************************************************************
Please consider the environment before printing this email or attachments

This email and any attachments are confidential, protected by copyright and may be legally privileged.  If you are not the intended recipient, then the dissemination or copying of this email is prohibited. If you have received this in error, please notify the sender by replying by email and then delete the email completely from your system.  Neither Sporting Index nor the sender accepts responsibility for any virus, or any other defect which might affect any computer or IT system into which the email is received and/or opened.  It is the responsibility of the recipient to scan the email and no responsibility is accepted for any loss or damage arising in any way from receipt or use of this email.  Sporting Index Ltd is a company registered in England and Wales with company number 2636842, whose registered office is at Gateway House, Milverton Street, London, SE11 4AP.  Sporting Index Ltd is authorised and regulated by the UK Financial Services Authority (reg. no. 150404) and Gambling Commission (reg. no. 000-027343-R-308898-001).  Any financial promotion contained herein has been issued
and approved by Sporting Index Ltd.

Outbound email has been scanned for viruses and SPAM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130809/09871cac/attachment.htm>


More information about the rabbitmq-discuss mailing list