[rabbitmq-discuss] Query about performance

Robert Raschke rtrlists at googlemail.com
Mon Jan 20 09:25:52 GMT 2014


Hi Ashish,

from what you write, it makes me think that you just one queue, for both
the reporting and the demo. If that is correct, then try having two queues,
one just for the reporting and another just for the demo. If you then also
have two separate consumers, then the demo consumer will not be held up by
any reporting messages.

Regards,
Robby



On 20 January 2014 09:04, Ashish Mukherjee <ashish.mukherjee at gmail.com>wrote:

> Hi,
>
> I have a Web application which submits messages to RabbitMQ consumer for
> asynchronous report generation. At the same time, I have a real-time demo
> on a very small subset of the data for demo. This is a synchronous
> scenario.
>
> When a large number of messages are fed to the queue for async processing,
> the messages fed in for demo fall to the bottom of the queue and the
> request times out. There is low CPU and memory usage observed. I am trying
> to resolve this issue.
>
> I have the following questions -
>
> 1) How do I improve throughput further after doing the following?
>
> i) Removed basicQos() call from the consumer code, so that the full
> capacity is used
>
> ii) Turned off acknowledgements
>
> 2) How do I use multiple queues within the same process?
>
> Is there any code example which demonstrates this and efficient use of
> exchanges?
>
> 3) What are the metrics I should look at to evaluate performance of the
> message queue?
>
> Regards,
> Ashish
>
> --
> M: +91-8800199037
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140120/db2371e4/attachment.html>


More information about the rabbitmq-discuss mailing list