[rabbitmq-discuss] question : how to speed up the worker ?

Alvaro Videla videlalvaro at gmail.com
Wed May 16 09:45:20 BST 2012


If you need to do parallel work then just start many workers for the same
queue.

Regarding how many messages you can queue is up to the available hard disk
space.

If you are asking about "amount of messages per second", RabbitMQ can
easily do 12.000 msg/sec in 2 years old laptops.

Regards,

Alvaro

On Wed, May 16, 2012 at 10:36 AM, bino oetomo <bino at indoakses-online.com>wrote:

> Dear All,
> Based on the 'sender' and 'worker' at http://www.rabbitmq.com/**
> tutorials/tutorial-two-python.**html<http://www.rabbitmq.com/tutorials/tutorial-two-python.html>,
> I wrote a small script.
>
> 1. Sender : Basically it just add a msg to the mq every 1 second.
> Actualy, it's part of my python-twisted script.
> The script just forward any msg comming trough my serial port to the MQ
> I connect my Arduino to my SerialPort, and it send msg every 1 seconds
>
> 2. Worker : just to read stored msg , and print each to stdout.
> it just a plain copy-paste from the example.
>
> The sender is work fine.
>
> But the worker need to wait a couple of seconds to read the next msg.
>
> Kindly please give me your enlightment on what to do to make the worker
> not to delay between every loop/read.
> Actualy , soon I'll need the worker to make 'paralel' work (if it doable),
> since this solution will need to forward queued msg to a HTTP server.
> In my deployment plan, the queued msg potentialy will reach 7000 msg and
> up (1 msg per second, 2 or more working hour)
>
> Sincerely
> -bino-
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<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/20120516/cf1d606b/attachment.htm>


More information about the rabbitmq-discuss mailing list